Part Number Hot Search : 
2124D 1N5355 T8200875 N4744 SDA165G 10A07 2545E 74HC404
Product Description
Full Text Search
 

To Download WM8325 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  w WM8325 processor power management subsystem wolfson microelectronics plc to receive regular email updates, sign up at http://www.wolfsonmicro.com/enews production data, february 2012, rev 4.0 copyright ? 2012 wolfson microelectronics plc description the WM8325 is an integrated power-management subsystem which provides a cost-effective, flexible, single-chip solution for power management. it is specifically targeted at the requirements of a range of low-power portable consumer products, but is suitable to any application with a multimedia processor. the WM8325 is designed to operate as a system pmic supporting the arm9?, arm11? and arm cortex-a? processors, but is also capable of supporting the majority of application and mobile processors at the heart of a wide range of low-power consumer multimedia applications. the start-up behaviour and configuration is fully programmable in an integrated otp non-volatile memory. this highly flexible solution helps reduce time-to-market, as changing application requirements can be very easily accommodated in the otp. the instantconfig tm interface enables an external eeprom to configure the WM8325. the WM8325 power management subsystem comprises four programmable dc-dc converters and eleven ldo regulators (four of which are low-noise for supplying sensitive analogue subsystems). the integrated otp bootstrap circuitry controls the start-up sequencing and voltages of the converters and regulators as well as the sequencing of system clocks. the dc-dc converters deliver high performance and high efficiency across a wide range of operating conditions. they are optimised to support the high load current transients seen in modern processor core domains. dc-dc3 / dc-dc4 can be connected together and operated in ?dual? mode to support an increased current load of up to 1.6a an on-chip regulator provides power for always-on pmic functions such as register map and the rtc. the device provides autonomous backup battery switchover. a low-power ldo is included to support ?alive? processor power domains external to the WM8325. a 12-bit auxiliary adc supports a wide range of applications for internal as well as external analogue sampling, such as voltage detection and temperature measurement. WM8325 includes a crystal oscillator and an internal rc oscillator to generate all clock signals for autonomous system start-up and processor clocking. a secure real-time clock (s- rtc) and alarm function is included, capable of waking up the system from low-power modes. a watchdog function is provided to ensure system integrity. to maximise battery life, highly-granular power management enables each function in the WM8325 subsystem to be independently powered down through a control interface or alternatively through register and otp-configurable gpios. the device offers a standby power consumption of <7ua, making it particularly suitable for portable applications. the WM8325 is supplied in an 8x8mm 81-lead qfn package, ideal for use in portable systems. the WM8325 forms part of the wolfson series of audio and power management solutions, and is widely register compatible with the wm831x devices. features power management ? 1 x dc-dc synchronous buck converter (0.6v - 1.8v, 2.5a, dvs) ? 1 x dc-dc synchronous buck converter (0.6v - 1.8v, 1.25a, dvs) ? 2 x dc-dc synchronous buck converters (0.85v - 3.4v, 1a) ? 1 x ldo regulator (0.9v - 3.3v, 300ma, 1 ? ) ? 2 x ldo regulators (0.9v - 3.3v, 200ma, 1 ? ) ? 3 x ldo regulators (0.9v - 3.3v, 100ma, 2 ? ) ? 2 x low-noise ldo regulators (1.0v - 3.5v, 200ma, 1 ? ) ? 2 x low-noise ldo regulators (1.0v - 3.5v, 150ma, 2 ? ) ? 1 x ?alive? regulator (0.8v ? 1.55v, up to 25ma) system control ? i 2 c or spi compatible primary control interface ? comprehensive interrupt scheme ? watchdog timer and system reset control ? autonomous power sequencing and fault detection ? otp memory bootstrap configuration function additional features ? auxiliary adc for multi-function analogue measurement ? 128-bit pseudo-random unique id ? secure real-time clock with wake-up alarm ? 12 x configurable multi-function (gpio) pins ? comprehensive clocking scheme: low-power 32khz rtc crystal oscillator, gpio clock output and 4mhz rc clock for power management ? system led outputs indicating device power state, and fault status package options ? 8 x 8 x 0.85mm, 81-lead qfn package applications ? cellular handsets ? smartphones ? electronic books ? portable media players ? mobile internet devices ? electronic gaming devices ? netbooks ? smartbooks ? set top box ? digital picture frames
WM8325 production data w pd, february 2012, rev 4.0 2 block diagram ` dc1gnd dc1fb dc1lx dc1vdd dc-dc1 buck 0.6 to 1.8v 1.25a ldo2vout ldo 2 standard ldo 0.9 to 3.3v 200ma ldo 1 standard ldo 0.9 to 3.3v 300ma ldo4vout ldo3vdd ldo5vdd dc2gnd dc2fb dc2lx dc2vdd dc-dc2 buck 0.6 to 1.8v 2.5a dc4gnd dc4fb dc4lx dc4vdd dc-dc4 buck 0.85 to 3.4v 1a ldo 3 standard ldo 0.9 to 3.3v 200ma ldo 4 standard ldo 0.9 to 3.3v 100ma ldo 5 standard ldo 0.9 to 3.3v 100ma WM8325 irq sda2 sclk2 sda1 sclk1 sdout1 cs reset dbvdd dvs dc3gnd dc3fb dc3lx dc3vdd dc-dc3 buck 0.85 to 3.4v 1a ldo1vout ldo1_2vdd ldo3vout ldo4vdd ldo5vout ldo 7 analogue ldo 1.0 to 3.5v 200ma ldo7vout dvs cifmode gpio6 gpio3 gpio4 gpio5 gpio1 gpio2 gpio7 gpio8 gpio9 instant config tm eeprom interface otp nvm bootstrap config & unique id primary control interface multi- function pin (gpio) controller ap interface, gpios and pm control power management control 1 to 4mhz rc oscillator register map and application processor interface pm sub- system monitoring on interrupt and reset controller system status led driver led1 led2 ldo 11 alive ldo 0.8 to 1.55v 25ma ldo 12 internal ldo 2.1v 2ma ldo11vout ldo12vout (backup battery connection) ldo13vout ldo 13 internal ldo 2.5v 20ma progvdd aux adc gpio12 gpio10 gpio11 gnd (exposed ground paddle) vrefc irefr pvdd references ldo6vout ldo 6 standard ldo 0.9 to 3.3v 100ma ldo6vdd ldo8vout ldo 8 analogue ldo 1.0 to 3.5v 200ma ldo 10 analogue ldo 1.0 to 3.5v 150ma ldo 9 analogue ldo 1.0 to 3.5v 150ma ldo7_8vdd ldo9vout ldo9_10vdd ldo10vout chip temperature dual mode control xto xti real-time clock wake-up timer 32.768khz oscillator clocking and auxiliary adc functions power management internal power source management clkout xoscgnd test (test function only)
production data WM8325 w pd, february 2012, rev 4.0 3 typical applications the WM8325 is designed as a system pmic device that generates configurable dc supplies to power processors and associated peripherals withi n a system. the WM8325 provides four dc-dc synchronous buck (step-down) converters. two of these can operate in dual mode, providing an increased current capability. eleven ldo regulators provide a high degree of flexibility to provide power to multiple devices, with the capability to power-up and power-down different circuits independently. two of the dc-dc buck converters incorporate wolfson?s buckwise tm technology specifically designed to handle rapid changes in load current; programmable slew rate dvs is also provided, as required by modern application processors. selectable operating modes on all of the dc-dc converters allow each converter to be optimally configured for light, heavy or transient load conditions. flexible operating configurations allow the converters to be tailored for minimum pcb area, maximum performance, or for maximum efficiency. the analogue ldos provide low-noise outputs suitable for powering sensitive circuits such as rf / wi-fi / cellular handset applications. the WM8325 powers up the converters and ldos according to a programmable sequence. a configurable ?sleep? state is also available, providing support for an alternate configuration, typically for low-power / standby operation. the power control sequences and many other parameters can be stored in an integrated user-configurable otp (one-time programmable) memory or may be loaded from an external memory. the WM8325 supports the programming and verification of the integrated otp memory. a backup battery supply can be connected to the WM8325 in order to maintain the real time clock (rtc) in the absence of the primary supply. programmable gpio pins may be configured as hardware inputs for general use or for selecting different power management configurations. as outputs, the gpios can provide indications of the device status, or may be used as control signals for other power management circuits. the WM8325 also provides two led drivers, which can be contr olled manually or configured as status indicators for the otp memory programmer or operating power state.
WM8325 production data w pd, february 2012, rev 4.0 4 table of contents description ....................................................................................................... 1 ? features ............................................................................................................ 1 ? applications ..................................................................................................... 1 ? block diagram ................................................................................................ 2 ? typical applications .................................................................................... 3 ? table of contents ......................................................................................... 4 ? 1 ? pin configuration .................................................................................. 8 ? 2 ? ordering information ......................................................................... 8 ? 3 ? pin description ....................................................................................... 9 ? 4 ? thermal characteristics ................................................................ 13 ? 5 ? absolute maximum ratings.............................................................. 14 ? 6 ? recommended operating conditions .......................................... 15 ? 7 ? electrical characteristics ........................................................... 16 ? 7.1 ? dc-dc synchronous buck converters ............................................... 16 ? 7.2 ? ldo regulators ............................................................................................ 19 ? 7.3 ? reset thresholds ....................................................................................... 23 ? 7.4 ? references .................................................................................................... 23 ? 7.5 ? general purpose inputs / outputs (gpio) ........................................... 24 ? 7.6 ? digital interfaces ....................................................................................... 25 ? 7.7 ? auxiliary adc .................................................................................................. 25 ? 7.8 ? system status led drivers ...................................................................... 25 ? 8 ? typical power consumption ........................................................... 26 ? 9 ? typical performance data .............................................................. 27 ? 9.1 ? dc-dc converters ....................................................................................... 27 ? 9.2 ? ldo regulators ............................................................................................ 27 ? 10 ? signal timing requirements ............................................................ 28 ? 10.1 ? control interface ................................................................................... 28 ? 11 ? device description .............................................................................. 30 ? 11.1 ? general description ............................................................................... 30 ? 11.2 ? power states ............................................................................................. 30 ? 11.3 ? power state control ............................................................................. 32 ? 11.4 ? power state interrupts ........................................................................ 37 ? 11.5 ? power state gpio indication ................................................................ 37 ? 11.6 ? on pin function .......................................................................................... 38 ? 11.7 ? reset pin function ................................................................................... 39 ? 12 ? control interface .............................................................................. 41 ? 12.1 ? general description ............................................................................... 41 ? 12.2 ? 2-wire (i2c) control mode ...................................................................... 41 ? 12.3 ? 4-wire (spi) control mode ...................................................................... 44 ? 12.4 ? register locking ...................................................................................... 44 ? 12.5 ? software reset and chip id .................................................................. 45 ? 12.6 ? software scratch register ................................................................ 45 ? 13 ? clocking and oscillator control .............................................. 46 ? 13.1 ? general description ............................................................................... 46 ? 13.2 ? crystal oscillator interrupts ......................................................... 48 ? 13.3 ? crystal oscillator connections ...................................................... 49 ? 14 ? instantconfig? (ice) and otp memory control ...................... 50 ?
production data WM8325 w pd, february 2012, rev 4.0 5 14.1 ? general description ............................................................................... 50 ? 14.2 ? ice and otp memory definition ............................................................ 50 ? 14.3 ? bootstrap (start-up) function ........................................................... 51 ? 14.3.1 ? start-up from otp memory ...................................................................................... 51 ? 14.3.2 ? start-up from ice memory (development mode) .............................................. 52 ? 14.3.3 ? start-up from dcrw register set tings ......... .......................... ................... ....... 52 ? 14.3.4 ? external ice memory connection ......................................................................... 52 ? 14.4 ? otp / ice memory control ...................................................................... 53 ? 14.4.1 ? entering / exiting the program state ................................................................. 54 ? 14.4.2 ? otp / ice read command .............................................................................................. 54 ? 14.4.3 ? otp write command ..................................................................................................... 55 ? 14.4.4 ? otp verify command .................................................................................................... 55 ? 14.4.5 ? otp finalise command ................................................................................................. 56 ? 14.4.6 ? otp control register ................................................................................................ 56 ? 14.5 ? otp / ice interrupts ................................................................................. 58 ? 14.6 ? dcrw memory contents ......................................................................... 58 ? 14.6.1 ? dcrw page 0 ................... ......................... .......................... .......................... ................... . 58 ? 14.6.2 ? dcrw page 1 ................... ......................... .......................... .......................... ................... . 59 ? 14.6.3 ? dcrw page 2 ................... ......................... .......................... .......................... ................... . 59 ? 14.6.4 ? dcrw page 3 ................... ......................... .......................... .......................... ................... . 60 ? 14.6.5 ? dcrw page 4 ................... ......................... .......................... .......................... ................... . 62 ? 15 ? power management ............................................................................ 63 ? 15.1 ? general description ............................................................................... 63 ? 15.2 ? dc-dc converter and ldo regulator enable ............................... 63 ? 15.3 ? timeslot control and hardware en able (gpio) control ......... 64 ? 15.4 ? operating mode control ...................................................................... 65 ? 15.4.1 ? dc-dc synchronous buck converte rs .................. .................... ................... ....... 65 ? 15.4.2 ? ldo regulators ............................................................................................................ 65 ? 15.5 ? output voltage control ...................................................................... 65 ? 15.5.1 ? dc-dc synchronous buck converte rs .................. .................... ................... ....... 65 ? 15.5.2 ? ldo regulators 1-10 .................................................................................................... 66 ? 15.5.3 ? ldo regulator 11 .......................................................................................................... 66 ? 15.6 ? dc-dc synchronous buck converter control ............................ 66 ? 15.6.1 ? dc-dc3 / dc-dc4 dual mode ......................................................................................... 67 ? 15.7 ? ldo regulator control ........................................................................ 68 ? 15.8 ? hardware control (gpio) ...................................................................... 68 ? 15.9 ? fault protection ...................................................................................... 69 ? 15.10 ? monitoring and fault reporting ....................................................... 69 ? 15.11 ? power management register definitions ...................................... 70 ? 15.11.1 ? dc-dc converter and ldo regulator enable ................................................... 70 ? 15.11.2 ? dc-dc synchronous buck converter control ............... .......................... ....... 70 ? 15.11.3 ? ldo regulator control ............................................................................................ 77 ? 15.11.4 ? external power enable (epe) cont rol .................. .................... ................... ....... 86 ? 15.11.5 ? monitoring and fault reporting ........................................................................... 87 ? 15.12 ? power management interrupts ......................................................... 87 ? 15.13 ? power good indication .......................................................................... 88 ? 15.14 ? dc-dc synchronous buck converter operation ........................ 90 ? 15.14.1 ? overview ...................................................................................................................... .... 90 ? 15.14.2 ? dc-dc synchronous buck converte rs .................. .................... ................... ....... 90 ? 15.15 ? ldo regulator operation ..................................................................... 94 ? 15.15.1 ? overview ...................................................................................................................... .... 94 ? 15.15.2 ? ldo regulators ............................................................................................................ 95 ? 16 ? reserved ................................................................................................. 96 ? 17 ? power supply control ..................................................................... 97 ?
WM8325 production data w pd, february 2012, rev 4.0 6 17.1 ? general description ............................................................................... 97 ? 17.2 ? power path management interrupts ............................................... 97 ? 17.3 ? backup power ............................................................................................ 97 ? 18 ? auxiliary adc ......................................................................................... 98 ? 18.1 ? general description ............................................................................... 98 ? 18.2 ? auxadc control ........................................................................................ 98 ? 18.3 ? auxadc readback ...................................................................................... 99 ? 18.4 ? digital comparators ............................................................................. 101 ? 18.5 ? auxadc interrupts ................................................................................. 103 ? 19 ? reserved ............................................................................................... 104 ? 20 ? real-time clock (rtc) ....................................................................... 105 ? 20.1 ? general description ............................................................................. 105 ? 20.2 ? rtc control .............................................................................................. 105 ? 20.3 ? rtc interrupts ........................................................................................ 107 ? 20.4 ? digital rights management ................................................................ 108 ? 20.5 ? backup mode clocking options ........................................................ 108 ? 21 ? general purpose inputs / outputs (gpio) ................................ 109 ? 21.1 ? general description ............................................................................. 109 ? 21.2 ? gpio functions ......................................................................................... 109 ? 21.3 ? configuring gpio pins ........................................................................... 111 ? 21.4 ? gpio interrupts ....................................................................................... 115 ? 22 ? system status led drivers ............................................................ 116 ? 22.1 ? general description ............................................................................. 116 ? 22.2 ? led driver control ................................................................................ 116 ? 22.2.1 ? otp progam status .................................................................................................... 116 ? 22.2.2 ? power state status .................................................................................................. 117 ? 22.2.3 ? manual mode ................................................................................................................. 117 ? 22.3 ? led driver connections ....................................................................... 119 ? 23 ? interrupt controller .................................................................... 120 ? 23.1 ? primary interrupts ............................................................................... 121 ? 23.2 ? secondary interrupts ......................................................................... 123 ? 23.2.1 ? power state interrupt ............................................................................................ 123 ? 23.2.2 ? thermal interrupts ...................... .......................... ................... ................... ............ 123 ? 23.2.3 ? gpio interrupts .... .......................... .......................... ................... .................... ........... 125 ? 23.2.4 ? on pin interrupts .................... .......................... .......................... .................... ........... 125 ? 23.2.5 ? watchdog interrupts ........................ .......................... .......................... .................. 126 ? 23.2.6 ? auxadc interrupts ..... .......................... ......................... .......................... .................. 126 ? 23.2.7 ? power path management interrup ts ............... ................... .................... ........... 127 ? 23.2.8 ? real time clock and crystal osci llator interrupts ............... .................. 127 ? 23.2.9 ? otp memory interrup ts ...................... ......................... .......................... .................. 128 ? 23.2.10 ? high current interrupts ............ .......................... ................... ................... ............ 128 ? 23.2.11 ? undervoltage interrupts .......... .......................... ................... ................... ............ 129 ? 24 ? resets and supply voltage monitoring .................................. 130 ? 24.1 ? resets ......................................................................................................... 130 ? 24.2 ? hardware reset ...................................................................................... 132 ? 24.3 ? software reset ...................................................................................... 132 ? 24.4 ? supply voltage monitoring ............................................................... 134 ? 25 ? watchdog timer ................................................................................. 136 ? 26 ? temperature sensing ...................................................................... 138 ? 27 ? voltage and current references ............................................. 139 ? 27.1 ? voltage reference (vref) ................................................................... 139 ? 27.2 ? current reference (iref) ................................................................... 139 ?
production data WM8325 w pd, february 2012, rev 4.0 7 28 ? register map overview ................................................................... 140 ? 29 ? register bits by address ............................................................... 147 ? 30 ? applications information .............................................................. 248 ? 30.1 ? typical connections ............................................................................. 248 ? 30.2 ? voltage and current reference components .......................... 249 ? 30.3 ? dc-dc buck converter external components ........................... 249 ? 30.3.1 ? dc-dc3 / dc-dc4 dual mode ....................................................................................... 252 ? 30.4 ? ldo regulator external components .......................................... 253 ? 30.5 ? pcb layout ................................................................................................. 254 ? 31 ? package diagram ............................................................................... 255 ? 32 ? important notice ............................................................................... 256 ? 33 ? revision history ................................................................................. 257 ?
WM8325 production data w pd, february 2012, rev 4.0 8 1 pin configuration a1 a2 a3 a4 a5 b4 b3 b2 b1 c1 d1 f1 e1 g1 h1 j1 u1 t1 v2 v1 w1 y1 w2 y2 w3 y3 w4 y4 w5 y5 w6 y6 y7 w7 w8 y8 w9 y9 w10 y10 w11 y11 w12 y12 v3 v4 u2 u3 r2 r3 n2 n3 m2 m3 k2 k3 h2 h3 f2 f3 d2 d3 b11 a11 a10 b10 b9 a9 a8 b8 a7 b7 b6 b5 a6 k1 l1 m1 n1 p1 r1 egp (exposed ground paddle) top view ? WM8325 2 ordering information order code otp temperature range (t a ) package moisture sensitivity level peak soldering temperature WM8325gefl/v unprogrammed -40 ? c to +85 ? c 81-lead qfn (8 x 8mm) (pb-free) msl3 260 ? c WM8325gefl/rv unprogrammed -40 ? c to +85 ? c 81-lead qfn (8 x 8mm) (pb-free, tape and reel) msl3 260 ? c WM8325geflxxx/rv* custom -40 ? c to +85 ? c 81-lead qfn (8 x 8mm) (pb-free, tape and reel) ** msl3 260 ? c note: reel quantity = 2200 * xxx = unique otp part number ** custom otp minimum order quantity 22,000.
production data WM8325 w pd, february 2012, rev 4.0 9 3 pin description notes: 1. pins are sorted by functional groups. 2. the power domain associated with each pin is noted; vpmic is the domain powered by ldo12 for the ?always-on? functions internal to the WM8325. 3. note that an external level-shifter may be required when interfacing between different power domains. pin name type power domain description clocking and real time clock y12 xto analogue output vpmic crystal drive output y11 xti analogue input crystal drive input or 32.768khz cmos clock input w11 xoscgnd supply crystal oscillator ground h1 clkout digital output dbvdd cmos clock output configurable open drain / cmos mode. (external 4.7k ? pull-up recommended in open drain mode.) general purpose input / output and auxiliary adc d3 gpio1 digital i/o dbvddor vpmic gpio pin 1 selectable pull-up/pull-down. f2 gpio2 digital i/o gpio pin 2 selectable pull-up/pull-down. f3 gpio3 digital i/o gpio pin 3 selectable pull-up/pull-down. w4 gpio4 digital i/o dbvddor pvdd gpio pin 4 selectable pull-up/pull-down. y4 gpio5 digital i/o gpio pin 5 selectable pull-up/pull-down. w5 gpio6 digital i/o gpio pin 6 selectable pull-up/pull-down. h2 gpio7 digital i/o dbvddor vpmic gpio pin 7 selectable pull-up/pull-down. h3 gpio8 digital i/o gpio pin 8 selectable pull-up/pull-down. k3 gpio9 digital i/o gpio pin 9 selectable pull-up/pull-down. y5 gpio10 digital i/o dbvddor pvdd gpio pin 10 / auxiliary adc input selectable gpio pull-up/pull-down. y6 gpio11 digital i/o gpio pin 11 / auxiliary adc input selectable gpio pull-up/pull-down. w6 gpio12 digital i/o gpio pin 12 / auxiliary adc input selectable gpio pull-up/pull-down.
WM8325 production data w pd, february 2012, rev 4.0 10 pin name type power domain description processor interface and ic control w9 on digital input vpmic on request pin (internal pull-up) b10 reset digital i/o dbvdd system reset input and open drain output. (internal pull-up) a11 irq digital output dbvdd pmic interrupt flag output. configurable open drain / cmos mode. (internal pull-up in open drain mode.) e1 cifmode digital input dbvdd primary control interface mode select: 0 = i 2 c compatible control interface mode 1 = spi compatible control interface mode spi compatible control interface mode i 2 c compatible control interface mode d2 sdout1 digital output dbvdd control interface serial data out. open drain output; external 4.7k ? pull-up recommended. no function b9 sclk1 digital input control interface serial clock control interface serial clock a9 sda1 digital i/o control interface serial data in control interface serial data input and open drain output. external 4.7k ? pull-up recommended. (output can extend above dbvdd domain.) a10 cs digital input control interface chip select i 2 c address select: 0 = 68h 1 = 6ch y10 sclk2 digital i/o vpmic control interface serial clock for external instantconfig tm eeprom (ice) (internal pull-down) w10 sda2 digital i/o control interface serial data to/from external instantconfig tm eeprom (ice) (internal pull-down) b11 dbvdd1 supply digital buffer supply f1 dbvdd2 supply digital buffer supply otp memory y3 progvdd supply high-voltage input for otp programming.
production data WM8325 w pd, february 2012, rev 4.0 11 pin name type power domain description dc-dc converters and ldo regulators b7 dc1gnd supply dc-dc1 power ground a8 dc1fb analogue input dc1vdd dc-dc1 feedback pin a7 dc1lx analogue i/o dc-dc1 inductor connection b8 dc1vdd supply dc-dc1 power input (connect to pvdd system supply) b6 dc2gnd supply dc-dc2 power ground a5 dc2fb analogue input dc2vdd dc-dc2 feedback pin a6 dc2lx analogue i/o dc-dc2 inductor connection b5 dc2vdd supply dc-dc2 power input (connect to pvdd system supply) m1 dc3gnd supply dc-dc3 power ground j1 dc3fb analogue input dc3vdd dc-dc3 feedback pin l1 dc3lx analogue i/o dc-dc3 inductor connection k1 dc3vdd supply dc-dc3 power input (connect to pvdd system supply) n1 dc4gnd supply dc-dc4 power ground t1 dc4fb analogue input dc4vdd dc-dc4 feedback pin p1 dc4lx analogue i/o dc-dc4 inductor connection r1 dc4vdd supply dc-dc4 power input (connect to pvdd system supply) a3 ldo1_2vdd supply ldo1 & ldo2 power input b2 ldo1vout analogue output ldo1vdd ldo1 power output b3 ldo2vout analogue output ldo2vdd ldo2 power output b4 ldo3vdd supply ldo3 power input a4 ldo3vout analogue output ldo3vdd ldo3 power output w3 ldo4vdd supply ldo4 power input y2 ldo4vout analogue output ldo4vdd ldo4 power output y1 ldo5vdd supply ldo5 power input w2 ldo5vout analogue output ldo5vdd ldo5 power output w1 ldo6vdd supply ldo6 power input v1 ldo6vout analogue output ldo6vdd ldo6 power output r3 ldo7_8vdd supply ldo7 & ldo8 power input n2 ldo7vout analogue output ldo7vdd ldo7 power output r2 ldo8vout analogue output ldo8vdd ldo8 power output m2 ldo9_10vdd supply ldo9 power input m3 ldo9vout analogue output ldo9vdd ldo9 power output n3 ldo10vout analogue output ldo10vdd ldo10 power output v3 ldo11vout analogue output pvdd ldo11 (alive) power output y8 ldo12vout analogue i/o pvdd ldo12 (internal vpmic) output; backup battery supply input / output w7 ldo13vout1 analogue i/o pvdd ldo13 (internal intvdd) output; not for general use k2 ldo13vout2 analogue i/o pvdd ldo13 - connect to ldo13vout1 (w7) voltage and current references w8 vrefc analogue i/o vpmic voltage reference capacitor connection point y9 irefr analogue i/o current reference resistor connection point system led drivers u3 led1 digital output pvdd status led driver 1. open drain output u2 led2 digital output status led driver 2. open drain output
WM8325 production data w pd, february 2012, rev 4.0 12 pin name type power domain description system power u1 pvdd1 supply system vdd supply y7 pvdd2 supply system vdd supply v4 pvdd3 supply system vdd supply egp exposed ground paddle analogue ground ground miscellaneous a1, a2, b1, c1, d1, v2 dnc do not connect g1, w12 test test function (connect to gnd)
production data WM8325 w pd, february 2012, rev 4.0 13 4 thermal characteristics thermal analysis must be performed in the intended application to prevent the WM8325 from exceeding maximum junction temperature. several contributing factors affect thermal performance most notably the physical properties of the mechanical enclosure, location of the device on the pcb in relation to surrounding components and the number of pcb layers. connecting the gnd balls through thermal vias and into a large ground plane will aid heat extraction. three main heat transfer paths exist to surrounding air: - package top to air (convection and radiation). - package bottom to pcb (convection and radiation). - package leads to pcb (conduction). (note that radiation is not normally significant at the moderate temperatures experienced in typical applications.) the temperature rise t r is given by t r = p d * ? ja - p d is the power dissipated by the device. - ? ja is the thermal resistance from the junction of the die to the ambient temperature and is therefore a measure of heat transfer from the die to surrounding air. - for WM8325, ? ja = 24 ? c/w - the quoted ? ja is based on testing to the eia/jedec-51-2 test environment (ie. 1ft 3 box, still air, with specific pcb stack-up and tracking rules). note that this is not guaranteed to reflect all typical end applications. the junction temperature t j is given by t j = t a + t r - t a , is the ambient temperature. the worst case conditions are when the WM8325 is operating in a high ambient temperature, and under conditions which cause high power dissipation, such as the dc-dc converters operating at low supply voltage, high duty cycle and high output current. under such conditions, it is possible that the heat dissipated could cause the maximum junction temperature of the device to be exceeded. care must be taken to avoid this situation. an example calculation of the junction temperature is given below. - p d = 500mw (example figure) - ? ja = 24 ? c/w - t r = p d * ? ja = 12 ? c - t a = 85c (example figure) - t j = t a +t r = 97 ? c the minimum and maximum operating junction temperatures for the WM8325 are quoted in section 5. the maximum junction temperature is 125c. therefore, the junction temperature in the above example is within the operating limits of the WM8325.
WM8325 production data w pd, february 2012, rev 4.0 14 5 absolute maximum ratings absolute maximum ratings are stress ratings only. permanent damage to the device may be caused by continuously operating at or beyond these limits. device functional operating limits and guar anteed performance specifications are given under electrical characteristics at the test conditions specified. esd sensitive device. this device is manufactured on a cmos process. it is therefore generically susceptible to damage from excessive static voltages. proper esd precautions must be taken during handling and storage of this device. wolfson tests its package types according to ipc/jedec j-st d-020b for moisture sensitivity to determine acceptable storage conditions prior to surface mount assembly. these levels are: msl1 = unlimited floor life at <30 ? c / 85% relative humidity. not normally stored in moisture barrier bag. msl2 = out of bag storage for 1 year at <30 ? c / 60% relative humidity. supplied in moisture barrier bag. msl3 = out of bag storage for 168 hours at <30 ? c / 60% relative humidity. supplied in moisture barrier bag. the WM8325 has been classified as msl3. condition min max otp programming supply (progvdd) -0.3v 7.0v system supply (pvdd1, pvdd2, pvdd3) -0.3v 7.0v input voltage for ldo regulators -0.3v 7.0v input voltage for dc-dc converters -0.3v 7.0v digital buffer supply (dbvdd1, dbvdd2) -0.3v 4.5v voltage range for digital inputs -0.3v dbvdd + 0.3v operating temperature range, t a -40 ? c +85 ? c junction temperature, t j -40 ? c +125 ? c thermal impedance junction to ambient, ja 24 ? c/w storage temperature prior to soldering 30 o c max / 60% rh max storage temperature after soldering -65 ? c +150 ? c soldering temperature (10 seconds) +260 ? c note: these ratings assume that all ground pins are at 0v.
production data WM8325 w pd, february 2012, rev 4.0 15 6 recommended operating conditions parameter symbol min typ max units system power source pvdd1, pvdd2, pvdd3 2.7 5.5 v digital buffer supply dbvdd1, dbvdd2 1.71 3.6 v otp programming supply (see note) progvdd 6.25 6.5 6.75 v ldo12vout 3.3 v ground exposed ground paddle (egp), dc1gnd, dc2gnd, dc3gnd, dc4gnd, xoscgnd 0 v note: the otp programming supply progvdd should only be present when programming the otp. at other times, this pin should be left unconnected. the ldo12vout must be overdriv en by an external supply when programming the otp. at other times, the voltage at this pin is driven by the internal circuits of the WM8325.
WM8325 production data w pd, february 2012, rev 4.0 16 7 electrical characteristics 7.1 dc-dc synchronous buck converters dc-dc1 unless otherwise noted: v in = 3.8v, v out = 1.2v, mode = fccm (1) , t j = -40c to +125c; typical values are at t j = 25c parameter symbol test conditions min typ max unit input voltage v in 2.7 5.5 v programmable output voltage v out f sw = 2mhz 0.6 1.8 v f sw = 4mhz 0.6 1.4 v out step size v out_step 12.5 mv v out accuracy v out_acc v in = 2.7v to 5.5v, i out = 0ma to 1250ma -2.5 +2.5 % undervoltage margin v uv 0.6v v out < 0.9v 50 mv 0.9v v out < 1.3v 80 1.3v v out 1.8v 100 overvoltage margin v ov 0.6v v out 1.8v 100 mv output current i out fccm (1) and auto (ccm/dcm with ps (2) ) modes 0 1250 ma hysteretic mode 0 150 ldo mode 0 10 p-channel current limit i p_lim dc1_freq = 01 or 10 1850 ma dc1_freq = 11 2050 quiescent current i q i out = 0ma, fccm (1) and auto (ccm/dcm with ps (2) ) modes (excluding switching losses) 585 ? a i out = 0ma, hysteretic mode 100 i out = 0ma, ldo mode 25 shutdown current i sd dc1_ena = 0 0.01 ? a p-channel on resistance r dsp v in = v gs = 3.8v, i dcmlx = 100ma 150 m ? n-channel on resistance r dsn v in = v gs = 3.8v, i dcmlx = -100ma 140 m ? switching frequency f sw dc1_freq = 01 2 mhz dc1_freq = 1x 4 notes: 1. forced continuous conduction mode 2. continuous / discontinuous conduction with pulse-skipping mode
production data WM8325 w pd, february 2012, rev 4.0 17 dc-dc2 unless otherwise noted: v in = 3.8v, v out = 1.2v, mode = fccm (1) , t j = -40c to +125c; typical values are at t j = 25c parameter symbol test conditions min typ max unit input voltage v in 2.7 5.5 v programmable output voltage v out f sw = 2mhz 0.6 1.8 v f sw = 4mhz 0.6 1.4 v out step size v out_step 12.5 mv v out accuracy v out_acc v in = 2.7v to 5.5v, i out = 0ma to 2500ma -2.5 +2.5 % undervoltage margin v uv 0.6v v out < 0.9v 50 mv 0.9v v out < 1.3v 80 1.3v v out 1.8v 100 overvoltage margin v ov 0.6v v out 1.8v 100 mv output current i out fccm (1) and auto (ccm/dcm with ps (2) ) modes f sw = 2mhz 0 2500 ma f sw = 4mhz 0 1250 hysteretic mode 0 150 ldo mode 0 10 p-channel current limit i p_lim 3650 ma quiescent current i q i out = 0ma, fccm (1) and auto (ccm/dcm with ps (2) ) modes (excluding switching losses) 585 ? a i out = 0ma, hysteretic mode 100 i out = 0ma, ldo mode 25 shutdown current i sd dc2_ena = 0 0.01 ? a p-channel on resistance r dsp v in = v gs = 3.8v, i dcmlx = 100ma 115 m ? n-channel on resistance r dsn v in = v gs = 3.8v, i dcmlx = -100ma 105 m ? switching frequency f sw dc2_freq = 01 2 mhz dc2_freq = 10 4 notes: 1. forced continuous conduction mode 2. continuous / discontinuous conduction with pulse-skipping mode
WM8325 production data w pd, february 2012, rev 4.0 18 dc-dc3 and dc-dc4 unless otherwise noted: v in = 3.8v, v out = 1.8v, mode = fccm (1) , t j = -40c to +125c; typical values are at t j = 25c parameter symbol test conditions min typ max unit input voltage v in 2.7 5.5 v programmable output voltage v out 0.85 (4) 3.4 v v out step size v out_step 25 mv v out accuracy v out_acc v in = 2.7v to 5.5v, i out = 0ma to 1000ma -4 +4 % undervoltage margin v uv 0.85v v out 3.4v 50 mv output current i out fccm (1) and auto (ccm/dcm with ps (2) ) modes independent operation (dc4_slv=0) 0 1000 ma dual mode operation (dc4_slv=1) 0 800 (5) hysteretic mode, dc m _stnby_lim=01 0 100 (3) ldo mode 0 10 p-channel current limit i p_lim 1600 ma quiescent current i q i out = 0ma, fccm (1) and auto (ccm/dcm with ps (2) ) modes (excluding switching losses) 330 ? a i out = 0ma, hysteretic mode 110 i out = 0ma, ldo mode 20 shutdown current i sd dc m _ena = 0 0.01 ? a p-channel on resistance r dsp v in = v gs = 3.8v, i dcmlx = 100ma 165 m ? n-channel on resistance r dsn v in = v gs = 3.8v, i dcmlx = -100ma 155 m ? switching frequency f sw 2 mhz notes: 1. forced continuous conduction mode 2. continuous / discontinuous conduction with pulse-skipping mode 3. the maximum output current in hysteretic mode c an be adjusted using the dcm_stnby_lim registers 4. in fccm mode, the minimum v out is 1.2v 5. in dual mode operation, the ratings are ?per converter?. the combined maximum output current is 1600ma
production data WM8325 w pd, february 2012, rev 4.0 19 7.2 ldo regulators ldo1 unless otherwise noted: v in = 3.8v, v out = 1.8v, t j = -40c to +125c; typical values are at t j = +25oc parameter symbol test conditions min typ max unit input voltage v in 1.5 5.5 v programmable output voltage v out 0.9 3.3 v v out step size v out_step v out = 0.9v to 1.6v 50 mv v out = 1.7v to 3.3v 100 output current i out normal mode 0 300 ma low power mode, ldo n _lp_mode=0 0 50 low power mode, ldo n _lp_mode=1 0 20 v out accuracy v out_acc i load = 1ma -3 +3 % line regulation v out line v in = (v out + 0.5) to 5.5v, i load = 150ma note that v in must be >= 1.5v 0.1 %/v load regulation v out load i load =1ma to 300ma 0.011 %/ma dropout voltage v in - v out i load =150ma, v out > 2.7v 250 mv i load =150ma, v out 1.8v to 2.7v 300 i load =150ma, v out < 1.8v 500 undervoltage level v out v out falling 88 % quiescent current i q normal mode, no load 30 ? a low power mode, ldo n _lp_mode=0, no load 10 low power mode, ldo n _lp_mode=1, no load 5 i load = 1ma to 300ma i q (no load) + 1% of load power supply rejection ratio psrr i load = 150ma, <= 1khz 53 db i load = 150ma, 10khz 53 i load = 150ma, 100khz 32 on resistance (switch mode) r dson v in = 1.5v, i load = 100ma 1.5 ? v in = 1.8v, i load = 100ma 1.2 v in = 2.5v, i load = 100ma 0.85 v in = 3.3v, i load = 100ma 0.7 current limit (switch mode) i cl v out = 0v 600 ma start-up time t start_up no load, output cap 2.2 f, 90% of v out 10 ? s shutdown time t shut_down no load, output cap 2.2 f, 10% of v out 10 ms ldo2, ldo3 unless otherwise noted: v in = 3.8v, v out = 1.8v, t j = -40c to +125c; typical values are at t j = +25oc parameter symbol test conditions min typ max unit input voltage v in 1.5 5.5 v programmable output voltage v out 0.9 3.3 v v out step size v out_step v out = 0.9v to 1.6v 50 mv v out = 1.7v to 3.3v 100 output current i out normal mode 0 200 ma low power mode, ldo n _lp_mode=0 0 50 low power mode, ldo n _lp_mode=1 0 20 v out accuracy v out_acc i load = 1ma -3 +3 % line regulation v out line v in = (v out + 0.5) to 5.5v, i load = 100ma note that v in must be >= 1.5v 0.1 %/v load regulation v out load i load =1ma to 200ma 0.011 %/ma
WM8325 production data w pd, february 2012, rev 4.0 20 parameter symbol test conditions min typ max unit dropout voltage v in - v out i load =100ma, v out > 2.7v 200 mv i load =100ma, v out 1.8v to 2.7v 250 i load =100ma, v out < 1.8v 400 undervoltage level v out v out falling 88 % quiescent current i q normal mode, no load 30 ? a low power mode, ldo n _lp_mode=0, no load 10 low power mode, ldo n _lp_mode=1, no load 5 i load = 1ma to 200ma i q (no load) + 1% of load power supply rejection ratio psrr i load = 100ma, <= 1khz 55 db i load = 100ma, 10khz 55 i load = 100ma, 100khz 32 on resistance (switch mode) r dson v in = 1.5v, i load = 100ma 1.5 ? v in = 1.8v, i load = 100ma 1.2 v in = 2.5v, i load = 100ma 0.85 v in = 3.3v, i load = 100ma 0.7 current limit (switch mode) i cl v out = 0v 400 ma start-up time t start_up no load, output cap 2.2 f, 90% of v out 10 ? s shutdown time t shut_down no load, output cap 2.2 f, 10% of v out 10 ms ldo4, ldo5, ldo6 unless otherwise noted: v in = 3.8v, v out = 1.8v, t j = -40c to +125c; typical values are at t j = +25oc. parameter symbol test conditions min typ max unit input voltage v in 1.5 5.5 v programmable output voltage v out 0.9 3.3 v v out step size v out_step v out = 0.9v to 1.6v 50 mv v out = 1.7v to 3.3v 100 output current i out normal mode 0 100 ma low power mode, ldo n _lp_mode=0 0 50 low power mode, ldo n _lp_mode=1 0 20 v out accuracy v out_acc i load = 1ma -3 +3 % line regulation v out line v in = (v out + 0.5) to 5.5v, i load = 50ma note that v in must be >= 1.5v 0.1 %/v load regulation v out load i load =1ma to 100ma 0.022 %/ma dropout voltage v in - v out i load =100ma, v out > 2.7v 200 mv i load =100ma, v out 1.8v to 2.7v 250 i load =100ma, v out < 1.8v 400 undervoltage level v out v out falling 88 % quiescent current i q normal mode, no load 30 ? a low power mode, ldo n _lp_mode=0, no load 10 low power mode, ldo n _lp_mode=1, no load 5 i load = 1ma to 100ma i q (no load) + 1% of load power supply rejection ratio psrr i load = 50ma, <= 1khz 55 db i load = 50ma, 10khz 55 i load = 50ma, 100khz 32 on resistance (switch mode) r dson v in = 1.5v, i load = 100ma 3.2 ? v in = 1.8v, i load = 100ma 2.1 v in = 2.5v, i load = 100ma 1.35 v in = 3.3v, i load = 100ma 1.1
production data WM8325 w pd, february 2012, rev 4.0 21 parameter symbol test conditions min typ max unit current limit (switch mode) i cl v out = 0v 230 ma start-up time t start_up no load, output cap 2.2 f, 90% of v out 10 ? s shutdown time t shut_down no load, output cap 2.2 f, 10% of v out 10 ms ldo7, ldo8 unless otherwise noted: v in = 3.8v, v out = 1.8v, t j = -40c to +125c; typical values are at t j = +25oc parameter symbol test conditions min typ max unit input voltage v in 1.71 5.5 v programmable output voltage v out 1.0 3.5 v v out step size v out_step v out = 1.0v to 1.6v 50 mv v out = 1.7v to 3.5v 100 output current i out normal mode 0 200 ma low power mode 0 50 v out accuracy v out_acc i load = 1ma -2.5 +2.5 % line regulation v out line v in = (v out + 0.5) to 5.5v, i load = 100ma note that v in must be >= 1.71v 0.025 %/v load regulation v out load i load =1ma to 200ma 0.003 %/ma dropout voltage v in - v out i load =100ma, v out =1.8v 95 mv i load =100ma, v out =2.5v 65 i load =100ma, v out =3.3v 60 undervoltage level v out v out falling 93 % quiescent current i q normal mode, no load 110 ? a low power mode, no load 70 i load = 1ma to 200ma i q (no load) + 0.1% of load power supply rejection ratio psrr i load = 100ma, <= 1khz 70 db i load = 100ma, 10khz 67 i load = 100ma, 100khz 48 output noise voltage v out f=10hz to 100khz; v out =2.8v, i load = 1ma 30 ? v rms f=10hz to 100khz; v out =2.8v, i load = 10ma 32 f=10hz to 100khz; v out =2.8v, i load = 100ma 32 on resistance (switch mode) r dson v in = 1.71v, i load = 100ma 550 m ? v in = 1.8v, i load = 100ma 500 v in = 2.5v, i load = 100ma 330 v in = 3.5v, i load = 100ma 250 current limit (switch mode) i cl v out = 0v 320 ma start-up time t start_up no load, output cap 4.7 f, 90% of v out 50 ? s shutdown time t shut_down no load, output cap 4.7 f, 10% of v out 10 ms ldo9, ldo10 unless otherwise noted: v in = 3.8v, v out = 1.8v, t j = -40c to +125c; typical values are at t j = +25oc parameter symbol test conditions min typ max unit input voltage v in 1.71 5.5 v programmable output voltage v out 1.0 3.5 v v out step size v out_step v out = 1.0v to 1.6v 50 mv v out = 1.7v to 3.5v 100 output current i out normal mode 0 150 ma low power mode 0 50
WM8325 production data w pd, february 2012, rev 4.0 22 parameter symbol test conditions min typ max unit v out accuracy v out_acc i load = 1ma -2.5 +2.5 % line regulation v out line v in = (v out + 0.5) to 5.5v, i load = 75ma note that v in must be >= 1.71v 0.025 %/v load regulation v out load i load =1ma to 150ma 0.004 %/ma dropout voltage v in - v out i load =100ma, v out =1.8v 135 mv i load =100ma, v out =2.5v 100 i load =100ma, v out =3.3v 90 undervoltage level v out v out falling 93 % quiescent current i q normal mode, no load 110 ? a low power mode, no load 70 i load = 1ma to 150ma i q (no load) + 0.1% of load power supply rejection ratio psrr i load = 75ma, <= 1khz 73 db i load = 75ma, 10khz 69 i load = 75ma, 100khz 49 output noise voltage v out f=10hz to 100khz; v out =2.8v, i load = 1ma 30 ? v rms f=10hz to 100khz; v out =2.8v, i load = 10ma 32 f=10hz to 100khz; v out =2.8v, i load = 100ma 32 on resistance (switch mode) r dson v in = 1.71v, i load = 100ma 1000 m ? v in = 1.8v, i load = 100ma 930 v in = 2.5v, i load = 100ma 610 v in = 3.5v, i load = 100ma 430 current limit (switch mode) i cl v out = 0v 250 ma start-up time t start_up no load, output cap 4.7 f, 90% of v out 70 ? s shutdown time t shut_down no load, output cap 4.7 f, 10% of v out 10 ms ldo11 unless otherwise noted: v in = 3.8v, v out = 1.2v, t j = -40c to +125c; typical values are at t j = +25oc parameter symbol test conditions min typ max unit programmable output voltage v out 0.8 1.55 v v out step size v out_step 50 mv output current i out pvdd < 3.1v 0 10 ma pvdd 3.1v 0 25 v out accuracy v out v in = 2.7 to 5.5v ; i load = 100a -4 +4 % line regulation v out line v in = 2.7 to 5.5v; i load = 1ma 0.4 %/v load regulation v out load i load = 100a to 10ma 0.2 %/ma quiescent current i q no load 2.5 ? a start-up time t start_up no load, output cap 0.1 f, 90% of v out 0.3 1 ms shutdown time t shut_down no load, output cap 0.1 f, 10% of v out 0.3 1 ms
production data WM8325 w pd, february 2012, rev 4.0 23 7.3 reset thresholds unless otherwise noted: t j = -40c to +125c; typical values are at t j = +25oc parameter symbol test conditions min typ max unit power on reset power on reset threshold vpmic (ldo12vout) voltage at which device transitions between no power and backup states v por, de- assert vpmic rising 1.18 v v por, assert vpmic falling 1.08 v power on reset hysteresis v por, hyst 100 mv device reset control device reset threshold vpmic (ldo12vout) voltage at which device transitions between backup and off states v res, de- assert vpmic rising 1.89 v v res, assert vpmic falling 1.80 v device reset hysteresis v res, hyst 90 mv device shutdown shutdown threshold pvdd voltage at which the device forces an off transition v shutdown pvdd falling 2.7 v syslo threshold accuracy pvdd voltage at which syslo is asserted. v syslo pvdd falling, v syslo set by syslo_thr (2.8v to 3.5v) -3 +3 % sysok threshold accuracy pvdd voltage at which sysok is asserted. v sysok pvdd rising, v sysok set by sysok_thr (2.8v to 3.5v) note the sysok hysteresis margin (v sysok, hyst ) is added to sysok_thr. -3 +3 % sysok hysteresis v sysok, hyst 40 mv 7.4 references unless otherwise noted: t j = +25oc parameter symbol test conditions min typ max unit voltage reference v vrefc 0.8 v current reference v irefr 100k ? to gnd 0.5 v
WM8325 production data w pd, february 2012, rev 4.0 24 7.5 general purpose inputs / outputs (gpio) unless otherwise noted: t j = -40c to +125c; typical values are at t j = +25oc parameter symbol test conditions min typ max unit gpio1, gpio2, gpio3, gpio7, gpio8, gpio9 input high level v ih 0.75 x vdd v input low level v il 0.25 x vdd v output high level v oh i oh = 1ma 0.8 x vdd v output low level v ol i ol = -1ma 0.2 x vdd v pull-up resistance to vdd r pu gpn_pwr_dom=0 and dbvdd=1.8v or gpn_pwr_dom=1 180 k ? pull-down resistance r pd 180 k ? gpio4, gpio5, gpio6, gpio10, gpio11, gpio12 input high level v ih 0.85 x vdd v input low level v il 0.2 x vdd v output high level v oh i oh = 1ma 0.75 x vdd v output low level v ol i ol = -1ma 0.2 x vdd v pull-up resistance to vdd r pu gpn_pwr_dom=0 and dbvdd=1.8v or gpn_pwr_dom=1 and pvdd=3.8v 180 k ? pull-down resistance r pd 180 k ? notes: 1. ?vdd? is the voltage of the applicable power domain for each pin (selected by the corresponding gpn_pwr_dom register). 2. pull-up / pull-down resistance only applies when enabled using the gpn_pull registers. 3. pull-up / pull-down resistors are disabled when the gpio pin is tri-stated. 4. pull-up / pull-down resistance may change with the applicable power domain (as selected by gpn_pwr_dom).
production data WM8325 w pd, february 2012, rev 4.0 25 7.6 digital interfaces unless otherwise noted: t j = -40c to +125c; typical values are at t j = +25oc parameter symbol test conditions min typ max unit on , reset , irq , cifmode, sdout1, sclk1, sda1, cs , sclk2, sda2 input high level v ih 0.75 x vdd v input low level v il 0.2 x vdd v output high level v oh i oh = 1ma 0.8 x vdd v output low level v ol i ol = -1ma 0.2 x vdd v ?vdd? is the voltage of the applicable power domain for each pin, as defined in section 3. on pin pull-up resistance r pu 140 k ? reset pin pull-up resistance r pu dbvdd=1.8v 180 k ? dbvdd=3.6v 85 irq pin pull-up resistance r pu dbvdd=1.8v 180 k ? dbvdd=3.6v 85 sclk2 pin pull-down resistance r pd 100 k ? sda2 pin pull-down resistance r pd 100 k ? 7.7 auxiliary adc unless otherwise noted: t j = +25oc parameter symbol test conditions min typ max unit input resistance r gpio10, 11, 12 during measurement 400 k ? input voltage range v gpio10, 11, 12 gpn_pwr_dom = 0 0 v dbvdd v gpn_pwr_dom = 1 0 v pvdd input capacitance c gpio10, 11, 12 2 pf auxadc resolution 12 bits auxadc conversion time 39 s auxadc accuracy input voltage = 3v -2.5 +2.5 % 7.8 system status led drivers unless otherwise noted: t j = +25oc parameter symbol test conditions min typ max unit led1 and led2 sink current v led1/2 = 1v 10 ma
WM8325 production data w pd, february 2012, rev 4.0 26 8 typical power consumption data to follow
production data WM8325 w pd, february 2012, rev 4.0 27 9 typical performance data 9.1 dc-dc converters data to follow 9.2 ldo regulators data to follow
WM8325 production data w pd, february 2012, rev 4.0 28 10 signal timing requirements 10.1 control interface figure 1 control interface timing - 2-wire (i2c) control mode test conditions t j = -40oc to +125 oc unless otherwise stated. parameter symbol min typ max unit sclk1 frequency 0 400 khz sclk1 low pulse-width t 1 1300 ns sclk1 high pulse-width t 2 600 ns hold time (start condition) t 3 600 ns setup time (start condition) t 4 600 ns data setup time t 5 100 ns sda1, sclk1 rise time t 6 300 ns sda1, sclk1 fall time t 7 300 ns setup time (stop condition) t 8 600 ns data hold time t 9 900 ns pulse width of spikes that will be suppressed t ps 0 5 ns
production data WM8325 w pd, february 2012, rev 4.0 29 figure 2 control interface timing - 4-wire (spi) control mode (write cycle) figure 3 control interface timing - 4-wire (spi) control mode (read cycle) test conditions t j = -40oc to +125 oc unless otherwise stated. parameter symbol min typ max unit cs falling edge to sclk1 rising edge t csu 40 ns sclk1 falling edge to cs rising edge t cho 10 ns sclk1 pulse cycle time t scy 200 ns sclk1 pulse width low t scl 80 ns sclk1 pulse width high t sch 80 ns sda1 to sclk1 set-up time t dsu 40 ns sda1 to sclk1 hold time t dho 10 ns pulse width of spikes that will be suppressed t ps 0 5 ns sclk1 falling edge to sdout1 transition t dl 40 ns the cs pin must be held high for at least 1 ? s after every register write operation in spi mode.
WM8325 production data w pd, february 2012, rev 4.0 30 11 device description 11.1 general description the WM8325 is a multi-purpose power management device with a comprehensive range of features. the WM8325 provides 4 dc-dc synchronous buck converters and 11 ldo regulators which are all programmable to application-specific requirements. the on-board oscillator and two additional ldos support the clocking and control functions for the dc-dc converters and other core functions. the WM8325 provides a 32.768khz crystal oscillator and secure real time clock (srtc). an auxiliary adc is included, for measurement of external voltages. other features include flexible gpio capability, and led outputs for system status indications. under typical operating conditions, the device is powered up and shut down under the control of the on pin. the device executes a programmabl e sequence of enabling or disabling the dc-dc converters, ldos and other functions when commanded to power up or shut down respectively. an alternate device state (sleep power state) is provided, in which selected functions may be separately configured for a low-power or other operating condition. the configuration of the normal operating state may be programmed into an integrated otp non-volatile memory. if desired, the otp memory can be programmed during device manufactur e in accordance with the user?s specification. see section 14 for details of the otp and associated bootstrap configuration functions. in the absence of a main power supply, the WM8325 automatically reverts to a backup state, under which a minimal functionality is maintained to enable a smooth return to normal operation when the supply is restored. with a backup battery present, the rtc is updated in the backup state, allowing the main battery to be depleted or changed without loss of rtc function. without a backup battery, a small capacitor is sufficient to maintain the rtc (unclocked) for up to 5 minutes. 11.2 power states the WM8325 has 6 main power states, which are described below. different levels of functionality are associated with each of the power states. some of the state transitions are made autonomously by the WM8325 (eg. transitions to/from backup are scheduled according to the available power supply conditions). other transitions are initiated as a resu lt of instructions issued over the control interface or as a result of software functions (eg. watchdog timer) or hardware functions such as the on pin. the valid transitions and the associated conditions are detailed below. no power - this is the device state when no power is available. all functions are disabled and all register data is lost. off - this is the device state when power is available but the device is switched off. the rtc is enabled and the register map contents are maintained. the reset pin is pulled low in this state. ldo11 may optionally be enabled in this state; all other dc-dcs and ldos are disabled (apart from ldo12, which supports internal functions). on - this is the normal operating state when the device is switched on. all device functions are available in this state. sleep - this is a user-configurable operating state which is intended for a low-power operating condition. selected functions may be enabled, disabl ed or re-configured according to the user?s requirements. a programmable configuration s equence for the dc-dcs and ldos is executed on transition to/from sleep mode. backup - this is the operating state when the pvdd power supply is below the reset threshold of the device. typically, this means that the pvdd supply has been removed. all dc-dc converters and ldo regulators are disabled in this state. the rtc and oscillator and a ?software scratch? memory area can be maintained from the backup supply (if av ailable) in this state. all other functions and registers are reset in backup. (note that, for power saving, an ?unclocked? mode, in which the rtc is held constant, may be selected if required.) program - this is a special operating state which is used for programming the integrated otp memory with the device configuration data. the settings stored in the otp define the device configuration in the on state, and also the time/sequencing data associated with on/off power state transitions. see section 14 for details of the otp features.
production data WM8325 w pd, february 2012, rev 4.0 31 the valid power state transitions are illustrated in figure 4. figure 4 power states and transitions state transitions to/from the no power state are controlled automatically by the internal supply (vpmic) voltage generated by ldo12. the device is in the no power state when this voltage is below the power-on reset (por) threshold. see section 24 for more details on power-on reset. state transitions to/from the backup state are controlled automatically by the internal supply (vpmic) voltage generated by ldo12. the device is in the backup state when this voltage is below the device reset threshold. see section 24 for more details on resets. state transitions to/from the program state are requi red to follow specific control sequences. see section 14 for details of the program functions.
WM8325 production data w pd, february 2012, rev 4.0 32 the remaining transitions between the off, on and sleep states may be initiated by a number of different mechanisms - some of them automatic, some of them user-controlled. transitions between these states are time-controlled sequences of events. these are the off, on, sleep and wake sequences shown in figure 4. these transitions are programmable, using data stored in the integrated otp memory or else data loaded from an external instantconfig tm eeprom (ice) memory. see section 14 for details. note that a transition from the sleep state to the off state is not a controlled transition. if an ?off? event occurs whilst in the sleep state, then the WM8325 will select the off state, but all the enabled converters and regulators will be disabled immediately; the time-controlled sequence is not implemented in this case. see section 11.3 for details of the WM8325 ?off? events. the current power state of the WM8325 can be read from the main_state register field. a restricted definition of this field is shown in table 1. note that other values of main_state are defined for transition states, but it is recommended that only the values quoted below should be used to confirm power state transitions. a power state transition to the backup, sleep, on or off state is indicated by the interrupt bits described in section 11.4. address bit label default description r16397 (400dh) system status 4:0 main_state [4:0] 0_0000 main state machine condition 0_0000 = off 0_1011 = program 1_1100 = sleep 1_1111 = active (on) table 1 power state readback 11.3 power state control the off, on, sleep and wake sequences are initiated by many different conditions. when such a condition occurs, the WM8325 schedules a series of 5 timeslots, enabling a sequence of enable/disable events to be controlled. the nominal duration of the timeslots is fixed at 2ms, though this may be extended if any selected circuit has not started up within this time, as described later in this section. the off, sleep and wake sequences commence after a programmable delay set by pwrstate_dly. this allows a host processor to request a WM8325 state transition and then complete other tasks before the transition actually occurs. the on sequence is the transition from off to on power states. each ldo and each dc-dc converter may be associated with any one of the av ailable timeslots in the on sequence. this determines the time, within the sequence, at whic h that dc-dc converter or ldo will be enabled following an ?on? event. the clock output (clkout) and gpio pins configured as external power enable (epe) outputs can also be associated with any one of the available time slots in the on sequence. the epe function is a logic output that may be used to control external circuits, including external dc-dc converters. an example ?on? state transition sequence is ill ustrated in figure 5. each of the dc-dc converters and ldo regulators can be individually assigned to one of the five timeslots (shown as t1, t2, t3, t4, t5), providing total flexibility in the power sequence.
production data WM8325 w pd, february 2012, rev 4.0 33 figure 5 example control sequence for ?on? state transition the possible ?on? events that may trigger the on sequence are listed in table 3. the on sequence is only permitted when the supply voltage pvdd exceeds a programmable threshold sysok. see section 24 for details of pvdd voltage monitoring. the off sequence is the reverse of the on sequence. each dc-dc converter, ldo regulator or gpio output that is associated with a timeslot in the on sequence is switched off in the reverse sequence following an ?off? event. if clkout is assigned to a timeslot in the on sequence, then this is disabled in the reverse (off) sequence also. the possible ?off? events are listed in table 3. note that it is possible to modify the off sequence by writing to the associated registers in the on power state if required; this allows the off sequence to be independent of the on sequence. the sleep sequence is the transition from on to sleep power states. each ldo and each dc-dc converter may be associated with any one of the available timeslots in the sleep sequence. this determines the time, within the sequence, at which that dc converter or ldo will be disabled following a ?sleep? event. the clock output (clkout) and gpio pins configured as external power enable (epe) outputs can also be associated with any one of the available timeslots in the sleep sequence. the possible ?sleep? events are listed in table 3. the wake sequence is the reverse of the sleep sequence. each dc-dc converter, ldo regulator or gpio output that is associated with a timeslot in the sleep sequence is switched on in the reverse sequence following a ?wake? event. if clkout is assigned to a timeslot in the sleep sequence, then this is disabled in the reverse (wake) sequence also. the possible ?wake? events are listed in table 3. note that it is possible to modify the wake sequence by writing to the associated registers in the sleep power state if required; this allows the wake sequence to be independent of the sleep sequence. any dc-dc converter or ldo that is not associated with one of the 5 timeslots in the on sequence may, instead, be configured to be hardware controlled via a gpio pin configured as one of the hardware enable inputs. see section 21 for details of the gpio functions. any dc-dc converter or ldo that is not under hardware control may be enabled or disabled under software control in the on state, regardless of whether it is associated with any timeslot in the on sequence. when a valid off event occurs, any dc-dc converter or ldo which is not allocated a timeslot in the on sequence is disabled immediately. this includes any dc-dc converter or ldo which is under gpio (hardware enable) control. the only exception is ldo11 which may, optionally, be configured to be enabled in the off state.
WM8325 production data w pd, february 2012, rev 4.0 34 the WM8325 monitors the dc-dc converters and ldos during the on sequence to ensure that the required circuits have powered up successfully before proceeding to the next timeslot. the nominal timeslot durations are extended if necessary in order to wait for the selected dc-dc converters or ldos to power up. if the on sequence has not compl eted within 2 seconds of starting the transition, then a power sequence failure has occurred, resulting in the off state being forced. the most recent on or wake event can be determined by reading the bits in the ?on source? register, r400eh. the most recent off event can be determined by reading the bits in the ?off source? register, r400fh. the ?on source? register is updated when a new on event occurs. the ?off source? register is updated when a new off event occurs. note that some reset conditions (see section 24) result in an off transition followed by an on transition; these events are recorded as reset events in the ?on source? register. the on source and off source register fields are defined in table 2. address bit label default description r16387 (4003h) power state 15 chip_on 0 indicates whether the system is on or off. 0 = off 1 = on (or sleep) off can be commanded by writing chip_on = 0. note that writing chip_on = 1 is not a valid ?on? event, and will not trigger an on transition. 14 chip_slp 0 indicates whether the system is in the sleep state. 0 = not in sleep 1 = sleep wake can be commanded by writing chip_slp = 0. sleep can be commanded by writing chip_slp = 1. 11:10 pwrstate_dly 10 power state transition delay 00 = no delay 01 = no delay 10 = 1ms 11 = 10ms r16398 (400eh) on source 15 on_trans 0 most recent on/wake event type 0 = wake transition 1 = on transition 11 on_gpio 0 most recent on/wake event type 0 = not caused by gpio input 1 = caused by gpio input 10 on_syslo 0 most recent wake event type 0 = not caused by pvdd 1 = caused by syslo threshold. note that the syslo threshold cannot trigger an on event. 7 on_wdog_to 0 most recent wake event type 0 = not caused by watchdog timer 1 = caused by watchdog timer 6 on_sw_req 0 most recent wake event type 0 = not caused by software wake 1 = caused by software wake command (chip_slp = 0)
production data WM8325 w pd, february 2012, rev 4.0 35 address bit label default description 5 on_rtc_alm 0 most recent on/wake event type 0 = not caused by rtc alarm 1 = caused by rtc alarm 4 on_on_pin 0 most recent on/wake event type 0 = not caused by the on pin 1 = caused by the on pin 3 reset_cnv_uv 0 most recent on event type 0 = not caused by undervoltage 1 = caused by a device reset due to a converter (ldo or dc-dc) undervoltage condition 2 reset_sw 0 most recent on event type 0 = not caused by software reset 1 = caused by software reset 1 reset_hw 0 most recent on event type 0 = not caused by hardware reset 1 = caused by hardware reset 0 reset_wdog 0 most recent on event type 0 = not caused by the watchdog 1 = caused by a device reset triggered by the watchdog timer r16399 (400fh) off source 13 off_intldo_err 0 most recent off event type 0 = not caused by ldo13 error condition 1 = caused by ldo13 error condition 12 off_pwr_seq 0 most recent off event type 0 = not caused by power sequence failure 1 = caused by a power sequence failure 11 off_gpio 0 most recent off event type 0 = not caused by gpio input 1 = caused by gpio input 10 off_pvdd 0 most recent off event type 0 = not caused by pvdd 1 = caused by the syslo or shutdown threshold 9 off_therr 0 most recent off event type 0 = not caused by temperature 1 = caused by over-temperature 6 off_sw_req 0 most recent off event type 0 = not caused by software off 1 = caused by software off command (chip_on = 0) 4 off_on_pin 0 most recent off event type 0 = not caused by the on pin 1 = caused by the on pin table 2 power state control registers table 3 lists all of the events which can trigger an on, wake, off or sleep transition sequence. it also lists the associated status bits of the ?on source? and ?off source? register bits which are asserted under each condition.
WM8325 production data w pd, february 2012, rev 4.0 36 transition sequence event notes on source / off source on (see note 1) rtc alarm an on request occurs if the rtc alarm occurs in the off power state. see section 20. on_trans, on_rtc_alm gpio on request requires a gpio to be configured as ?power on request? or ?power on/off request?. see section 21. on_trans, on_gpio on pin request requires the on pin to be configured to generate on request. see section 11.6. on_trans, on_on_pin wake software wake writing chip_slp = 0. see table 2. on_sw_req watchdog timeout requires the watchdog to be configured to generate wake request. see section 25. on_wdog_to rtc alarm a wake request occurs if the rtc alarm occurs in the sleep power state. see section 20. on_rtc_alm gpio wake request requires a gpio to be configured as ?sleep/wake request?. see section 21. on_gpio pvdd undervoltage requires the pvdd monitor circuit to be configured to generate wake request. see section 24.4. on_syslo on pin request requires the on pin to be configured to generate wake request. see section 11.6. on_on_pin off watchdog timeout requires the watchdog to be configured to generate device reset. see section 25. reset_wdog (see note 2) hardware reset see section 24. reset_hw (see note 2) software reset see section 24. reset_sw (see note 2) power management undervoltage reset configurable option for each ldo/dc-dc converter. see section 15. reset_cnv_uv (see note 2) software off request writing chip_on = 0. see table 2. off_sw_req on pin request requires the on pin to be configured to generate off request. see section 11.6. off_on_pin thermal shutdown see section 26. off_therr pvdd undervoltage requires the pvdd monitor circuit to be configured to generate off request. see section 24.4. off_pvdd pvdd shutdown pvdd has fallen below the shutdown threshold. see section 24.4. off_pvdd gpio off request requires a gpio to be configured as ?power on/off request?. see section 21. off_gpio power sequence failure dc-dc converters, ldos or clkout circuits have failed to start up within the permitted time. off_pwr_seq internal ldo error error condition detected in ldo13 off_intldo_err sleep software sleep request writing chip_slp = 1. see table 2. see note 3 gpio sleep request requires a gpio to be configured as ?sleep request? or ?sleep/wake request?. see section 21. see note 3 table 3 power state transition events notes: 1. an on sequence is only permitted when the supply voltage pvdd exceeds a programmable threshold v sysok . see section 24.4 for details of pvdd voltage monitoring. 2. these reset conditions result in an off transition follow ed by an on transition. these events are recorded as reset events in the ?on source? register. 3. sleep events are not recorded in the ?off source? register.
production data WM8325 w pd, february 2012, rev 4.0 37 11.4 power state interrupts power state transitions are associated with a number of interrupt event flags. transitions to backup, sleep, on or off states are indicated by the interrupt bits described in table 4. each of these secondary interrupts triggers a primary power state interrupt, ps_int (see section 23). this can be masked by setting the mask bit(s) as described in table 4. address bit label description r16402 (4012h) interrupt status 2 2 ps_por_eint power on reset interrupt (rising edge triggered) note: cleared when a ?1? is written. 1 ps_sleep_off_eint sleep or off interrupt (power state transition to sleep or off states) (rising edge triggered) note: cleared when a ?1? is written. 0 ps_on_wake_eint on or wake interrupt (power state transition to on state) (rising edge triggered) note: cleared when a ?1? is written. r16410 (401ah) interrupt status 2 mask 2 im_ps_por_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_ps_sleep_off_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 0 im_ps_on_wake_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 4 power state interrupts 11.5 power state gpio indication the WM8325 can be configured to generate logic signals via gpio pins to indicate the current power state. see section 21 for details of configuring gpio pins. a gpio pin configured as ?on state? output will be asserted when the WM8325 is in the on state. a gpio pin configured as ?sleep state? output will be asserted when the WM8325 is in the sleep state.
WM8325 production data w pd, february 2012, rev 4.0 38 11.6 on pin function the on pin is intended for connection to the master power switch on the user?s application. it can be used to start-up the WM8325 from the sleep or off states and also to power down the system. this pin operates on the ldo12 (vpmic) power domai n and has an internal pull-up resistor. this pin is asserted by shorting it to gnd. a de-bounce circuit is provided on this input pin. the behaviour of the on pin is programmable. the primary action taken on asserting this pin is determined by the on_pin_primact register field. note that the on_pin_int interrupt event is always raised when the on pin is asserted. if the pin is held asserted for longer than the timeout period set by on_pin_to, then a secondary action is executed. the secondary action is deter mined by the on_pin_secact register field. if the pin is held asserted for a further timeout period, then a tertiary action is executed. the tertiary action is not programmable, and is to generate an off request. the status of the on pin can be read at any time via the on_pin_sts register. note that the on pin control registers are locked by the WM8325 user key. these registers can only be changed by writing the appropriate code to the security register, as described in section 12.4. address bit label default description r16389 (4005h) on pin control 9:8 on_pin_secact 01 secondary action of on pin (taken after 1 timeout period) 00 = interrupt 01 = on request 10 = off request 11 = reserved protected by user key 5:4 on_pin_primact 00 primary action of on pin 00 = ignore 01 = on request 10 = off request 11 = reserved note that an interrupt is always raised. protected by user key 3 on_pin_sts 0 current status of on pin 0 = asserted (logic 0) 1 = not asserted (logic 1) 1:0 on_pin_to 00 on pin timeout period 00 = 1s 01 = 2s 10 = 4s 11 = 8s protected by user key table 5 on pin control registers the on pin interrupt event is always raised as part of the primary action when the on pin is asserted or de-asserted. (note that the on pin interrupt is raised on the rising and falling edges of this on pin input signal.) the on pin interrupt is a selectable option as the secondary action. the on pin interrupt event is indicated by the on_pin _cint register field. this secondary interrupt triggers a primary on pin interrupt, on_pin_int (see section 23). this can be masked by setting the mask bit as described in table 6.
production data WM8325 w pd, february 2012, rev 4.0 39 address bit label description r16401 (4011h) interrupt status 1 12 on_pin_cint on pin interrupt. (rising and falling edge triggered) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 12 im_on_pin_cint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 6 on pin interrupt 11.7 reset pin function the reset pin is an active low input/output which is used to command hardware resets in the WM8325 and in other connected devices. the pin is an open-drain type, with integrated pull-up; it can be driven low by external sources or by the WM8325 itself. the WM8325 drives the reset pin low in the off state. the output status of the reset pin in sleep is configurable; this is determined by the rst_slpena register bit as defined in table 7. the WM8325 clears the reset pin following the tr ansition to on. on completion of the state transition, the reset pin is held low for a further delay time period, extending the reset low duration. the reset delay period is set by the rst_dur register bit. see figure 6 for further details. the WM8325 detects a hardware reset request whenever the reset pin is driven low by an external source. in this event, the WM8325 resets the i nternal control registers (excluding the rtc) and initiates a start-up sequence. see section 24. it is possible to mask the reset pin input in the sleep state by setting the rst_slp_msk register bit. in sleep mode, if rst_slp_msk is set, the WM8325 will take no action if the reset pin is pulled low. note that the reset pin control registers are locked by the WM8325 user key. these registers can only be changed by writing the appropriate code to the security register, as described in section 12.4. address bit label default description r16390 (4006h) reset control 5 rst_slp_msk 1 masks the reset pin input in sleep mode 0 = external reset active in sleep 1 = external reset masked in sleep protected by user key 4 rst_slpena 1 sets the output status of reset pin in sleep 0 = reset high (not asserted) 1 = reset low (asserted) protected by user key 1:0 rst_dur 11 delay period for releasing reset after on or wake sequence 00 = 3ms 01 = 11ms 10 = 51ms 11 = 101ms protected by user key table 7 reset pin control registers the WM8325 can generate an auxiliary reset output via a gpio pin configured as ?auxiliary reset? output (see section 21). this signal is asserted in the off state. the status of the auxiliary reset in the sleep state is configurable, using the auxrst _slpena register bit as defined in table 8.
WM8325 production data w pd, february 2012, rev 4.0 40 address bit label default description r16390 (4006h) reset control 6 auxrst_slpe na 1 sets the output status of auxiliary reset (gpio) function in sleep 0 = auxiliary reset not asserted 1 = auxiliary reset asserted protected by user key table 8 auxiliary reset (gpio) control the timing details of the reset pin relative to an on state trans ition are illustrated in figure 6. ?on? event on transition completes reset is de-asserted power state time reset pin on transition starts off on state transition time delay set by pwrstate_delay 1ms or 10ms on transition. nominal duration = 5 x 2ms reset delay set by rst_dur 3ms, 11ms, 51ms or 101ms figure 6 reset pin output
production data WM8325 w pd, february 2012, rev 4.0 41 12 control interface 12.1 general description the WM8325 is controlled by writing to its control r egisters. readback is available for all registers, including chip id, power management status and gpio status. the control interface can operate as a 2-wire (i2c) or 4-wire (spi) control interface. r eadback is provided on the bi-directional pin sda1 in 2-wire (i2c) mode. the WM8325 control interface is powered by the dbvdd power domain. the control interface mode is determined by the logic level on the cifmode pin as shown in table 9. cifmode interface format low 2-wire (i2c) mode high 4-wire (spi) mode table 9 control interface mode selection 12.2 2-wire (i2c) control mode in 2-wire (i2c) mode, the WM8325 is a slave devic e on the control interface; sclk1 is a clock input, while sda1 is a bi-directional data pin. to allow arbitration of multiple slaves (and/or multiple masters) on the same interface, the WM8325 transmits logic 1 by tri-stating the sda1 pin, rather than pulling it high. an external pull-up resistor is required to pull the sda1 line high so that the logic 1 can be recognised by the master. in order to allow many devices to share a single 2-wire control bus, every device on the bus has a unique 8-bit device id (this is not the same as the 16-bit address of each register in the WM8325). the device id is determined by the logic level on the cs pin as shown in table 10. the lsb of the device id is the read/write bit; this bit is set to logic 1 for ?read? and logic 0 for ?write?. cs device id low 0110 100x = 68h(write) / 69h(read) high 0110 110x = 6ch(write) / 6dh(read) table 10 control interface device id selection the WM8325 operates as a slave device only. the c ontroller indicates the start of data transfer with a high to low transition on sda1 while sclk1 remain s high. this indicates that a device id, register address and data will follow. the WM8325 responds to the start condition and shifts in the next eight bits on sda1 (8-bit device id including read/write bit, msb first). if the device id received matches the device id of the WM8325, then the WM8325 responds by pulling sda1 low on the next clock pulse (ack). if the device id is not recognised or the r/w bit is ?1? when operating in write only mode, the WM8325 returns to the idle condition and waits for a new start condition and valid address. if the device id matches the device id of the WM8325, the data transfer continues as described below. the controller indicates the end of data transfer with a low to high transition on sda1 while sclk1 remains high. after receiving a complete address and data sequence the WM8325 returns to the idle state and waits for another start condition. if a start or stop condition is detected out of sequence at any point during data transfer (i.e. sda1 changes while sclk1 is high), the device returns to the idle condition. the WM8325 supports the following read and write operations: ? single write ? single read ? multiple write using auto-increment ? multiple read using auto-increment
WM8325 production data w pd, february 2012, rev 4.0 42 the sequence of signals associated with a single register write operation is illustrated in figure 7. figure 7 control interface 2-wire (i2c) register write the sequence of signals associated with a single register read operation is illustrated in figure 8. figure 8 control interface 2-wire (i2c) register read the control interface also supports other register operations, as listed above. the interface protocol for these operations is summarised below. the terminology used in the following figures is detailed in table 11. note that, for multiple write and multiple read operations, the auto-increment option must be enabled. this feature is enabled by default; it is described in table 12 below. terminology description s start condition sr repeated start a acknowledge (sda low) a not acknowledge (sda high) p stop condition r/w readnotwrite 0 = write 1 = read [white field] data flow from bus master to WM8325 [grey field] data flow from WM8325 to bus master table 11 control interface terminology figure 9 single register write to specified address
production data WM8325 w pd, february 2012, rev 4.0 43 figure 10 single register read from specified address figure 11 multiple register write to specified address using auto-increment figure 12 multiple register read from specified address using auto-increment figure 13 multiple register read from last address using auto-increment multiple write and multiple read operations enable the host processor to access sequential blocks of the data in the WM8325 register map faster than is possible with single register operations. the auto- increment option is enabled when the autoinc register bit is set. this bit is defined in table 12. auto-increment is enabled by default. address bit label default description r16391 (4007h) control interface 2 autoinc 1 enable auto-increment function 0 = disabled 1 = enabled table 12 auto-increment control
WM8325 production data w pd, february 2012, rev 4.0 44 12.3 4-wire (spi) control mode in this mode, the WM8325 registers are accessed using a 4-wire serial control interface. the cs and sclk1 pins provide the ?chip select? and ?serial data clock? functions respectively. serial data input is supported on the sda1 pin; serial data output is supported on the sdout1 pin. a control word consists of 32 bits. the first bit is the read/write bit (r/w), which is followed by 15 address bits (a14 to a0) that determine which control register is accessed. the remaining 16 bits (b15 to b0) are data bits, corresponding to the 16 bits in each control register. in write operations (r/w=0), all sda1 bits are driven by the controlling device. each rising edge of sclk1 clocks in one data bit from the sda1 pin. a rising edge on cs latches in a complete control word consisting of the last 32 bits. in read operations, the sda1 pin is ignored following receipt of the valid register address. the data bits are output by the WM8325 on the sdout1 pin. sdout1 is undriven (high impedance) when not outputting register data bits. the sdout1 pin is an open drain output; an external pull-up resistor to dbvdd is required on sdout1 in 4-wire (spi) mode. the sequence of signals associated with a register write operation is illustrated in figure 14. r/w a14 a13 a12 a2 a1 sdin sclk cs 15-bit control register address 16-bit control register data a0 b15 b14 b13 b2 b0 b1 figure 14 control interface 4-wire (spi) register write the sequence of signals associated with a register read operation is illustrated in figure 15. figure 15 control interface 4-wire (spi) register read 12.4 register locking selected registers are protected by a security key. these registers can only be written to when the appropriate ?unlock? code has been written to the security key register. the protected registers include those associated with reset control, otp programming and rtc trim. other selected functions also include protected registers; the affected registers are identified in the register map definitions throughout the document, and also in section 29. to unlock the protected registers, a value of 9716h must be written to the security register (r16392), as defined in table 13.
production data WM8325 w pd, february 2012, rev 4.0 45 it is recommended to re-lock the protected registers immediately after writing to them. this helps protect the system against accidental overwriting of regi ster values. to lock the protected registers, a value of 0000h should be written to the security register. address bit label default description r16392 (4008h) security key 15:0 security [15:0] 0000h security key a value of 9716h must be written to this register to access the user- keyed registers. table 13 security key registers 12.5 software reset and chip id a software reset can be commanded by writing to register 0000h. this is a read-only register field and the contents of this register will not be affected by a write operation. for more details of the different reset types, see section 24. note that a maximum of 6 software resets is permitted. if more than 6 software resets are scheduled, the WM8325 will remain in the off state until the next valid on state transition event occurs. the chip id can be read back from register 0000h. other id fields can be read from the registers defined in table 14. address bit label default description r0 (0000h) reset/id 15:0 chip_id [15:0] 0000h writing to this register causes a software reset. the register map contents may be reset, depending on sw_reset_cfg. reading from this register will indicate chip id. r1 (0001h) revision 15:8 parent_re v [7:0] 00h the revision number of the parent die 7:0 child_rev [7:0] 00h the revision number of the child die (when present) r16384 (4000h) parent id 15:0 parent_id [15:0] 6246h the id of the parent die table 14 reading device information 12.6 software scratch register the WM8325 provides one 16-bit register as a ?software scratch? register. this is available for use by the host processor to store data for any purpose required by the application. the contents of the software scratch register are retained in the backup power state. address bit label default description r16393 (4009h) software scratch 15:0 sw_scratc h [15:0] 0000h software scratch register for use by the host processor. note that this register?s contents are retained in the backup power state. table 15 software scratch register
WM8325 production data w pd, february 2012, rev 4.0 46 13 clocking and oscillator control 13.1 general description the WM8325 incorporates a 32.768khz crystal oscillator in order to maintain the real time clock (rtc). an external crystal is normally required. alternatively, a 32.768khz signal may be input directly on the xti pin. the crystal oscillator and rtc are enabled at all times, including the off and backup power states. it is possible to disable the crystal oscillator in backup for power-saving rtc ?unclocked? mode if desired. the WM8325 clock functions are illustrated in figure 16. figure 16 clocking configuration the 32.768khz crystal oscillator is enabled using the xtal_ena register. the crystal oscillator is enabled in the off, on and sleep power states when xtal_ena = 1. the status of the crystal oscillator in backup is selected using the xtal_bkupena register. note that the xtal_ena field is set via otp/ice s ettings only; it cannot be changed by writing to the control register. if the crystal is omitted, and an external 32.768khz signal is connected as an input to the xti pin, it is still required to set xtal_ena = 1 for normal operation. the crystal oscillator can be disabled in the back up state by setting the xtal_bkupena register bit to 0. this feature may be used to minimise the device power consumption in the backup state, as described in section 20.5. the crystal oscillator is maintained in the backup state if both xtal_ena and xtal_bkupena are set to 1. the clkout signal, derived from the 32.768khz oscillator, can be enabled or disabled directly by writing to the clkout_ena register in the on or sleep power states. the clkout can also be controlled as part of the power state transitions using the clkout_slot and clkout_slp_slot register fields. see section 11.3 for a description of the state transition timeslots. the clkout pin may be configured as a cmos output or as an open-drain output. the clkout signal is referenced to the dbvdd power domain. the status of the crystal oscillator is indicated by the xtal_ok register bit. if the crystal oscillator fails to start, or if it stops for any reason, then the xtal_ok register will be set to 0. an internal rc oscillator is available in order to provide clkout functionality during start-up of the crystal oscillator. this function is selectable us ing the xtal_inh register bit, as described below. if xtal_inh = 0, then the internal rc oscillator provides the clkout signal in the event that the crystal oscillator has not fully started up prior to an ?on? state transition event. a glitch-free transition between the clock sources is implemented after the crystal oscillator is ready. if xtal_inh = 1, then an ?on? state transition is delayed until the crystal oscillator has fully started up. this may be desirable if the clkout signal is used as a clock for another circuit, to ensure that clkout signal has been verified before the ?on? state transition occurs. note that the clkout output is always disabled in the off power state; it is typically enabled as part of the ?on? state transition sequence. setting xtal_inh = 1 ensures that the clkout output cannot be enabled until the crystal frequency has been verified. if xtal_inh = 1, and the crystal oscillator fails to start, then a system reset will be scheduled after a timeout period of approximately 32 seconds. see section 24 for details of system resets.
production data WM8325 w pd, february 2012, rev 4.0 47 the WM8325 provides two interrupt flags associated with the crystal oscillator, as described in section 13.2. these interrupts will provide indication of a crystal oscillator start-up failure, or detection of an interruption to the crystal oscillator (eg, due to tampering). the clkout control fields are described in table 16. some of these controls may also be stored in the integrated otp memory. see section 14 for details. the 32.768khz oscillator may also be output on a gpio pin, as described in section 21. note that a gpio pin configured as 32.768khz output will continue to output the oscillator clock in the off power state; this may be used to provide clocking to the processor in the off state, provided that the selected power domain for that gpio pin remains enabled in the off state. the clkout output is always disabled in the off power state. the internal rc oscillator generates the required clocks for the integrated dc-dc converters on the WM8325. note that a 2mhz ?external power clock?, derived from this oscillator, may be output on a gpio pin to provide synchronised clocking of external dc-dc converters if required (see section 21). the 2mhz external power clock is only enabled when either of the external power enable signals epe1 or epe2 is asserted. the external power enable (epe) signals are controlled as described in section 15.3. note that the clkout_ena control register is lock ed by the WM8325 user key. this register can only be changed by writing the appropriate code to the security register, as described in section 12.4. address bit label default description r16397 (400dh) system status 7 xtal_ok 0 crystal oscillator status 0 = disabled or in start-up phase 1 = enabled and verified r16528 (4090h) clock control 1 15 clkout_ena 0 clkout output enable 0 = disabled 1 = enabled protected by user key 13 clkout_od 0 clkout pin configuration 0 = cmos 1 = open drain 10:8 clkout_slot 000 clkout output enable on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = do not enable 111 = do not enable 6:4 clkout_slp slot 000 clkout output sleep slot select 000 = controlled by clkout_ena 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = controlled by clkout_ena 111 = controlled by clkout_ena
WM8325 production data w pd, february 2012, rev 4.0 48 address bit label default description r16529 (4091h) clock control 2 15 xtal_inh 0 crystal start-up inhibit 0 = disabled 1 = enabled when xtal_inh=0, the internal rc oscillator will provide clkout until the crystal oscillator is valid. when xtal_inh=1, the ?on? transition is inhibited until the crystal oscillator is valid. 13 xtal_ena 0 crystal oscillator enable 0 = disabled at all times 1 = enabled in off, on, sleep states (note that the backup behaviour is determined by xtal_bkupena.) this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 12 xtal_bkupe na 1 selects the rtc and 32.768khz oscillator in backup state 0 = rtc unclocked in backup 1 = rtc maintained in backup (note that xtal_ena must also be set if the rtc is to be maintained in backup) table 16 clocking control 13.2 crystal oscillator interrupts the crystal oscillator (xtal) is associated with two interrupt event flags. the xtal_start_eint interrupt is set if the crystal oscillator fails to start-up within a timeout period of approximately 24 seconds. the xtal_tamper_eint interrupt is set if the crystal oscillator is stopped unexpectedly (eg. due to tampering). note that this interrupt is only supported if the crystal oscillator has previously started up successfully. the xtal_tamper_eint is also set if the crystal oscillator is re-started following an unexpected interruption. each of these secondary interrupts triggers a primary real time clock and crystal oscillator interrupt, rtc_int (see section 23). in the case of xtal_start_eint, this can be masked by setting the mask bit(s) as described in table 17. address bit label description r16404 (4014h) interrupt status 4 7 xtal_start_eint crystal oscillator start failure interrupt (rising edge triggered) note: cleared when a ?1? is written. 6 xtal_tamper_eint crystal oscillator tamper interrupt (rising and falling edge triggered) note: cleared when a ?1? is written. r16412 (401ch) interrupt status 4 mask 7 im_xtal_start_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 17 crystal oscillator (xtal) interrupts
production data WM8325 w pd, february 2012, rev 4.0 49 13.3 crystal oscillator connections the crystal oscillator generates a 32.768khz referenc e clock, which is used to provide reference clock for the real time clock (rtc) in the WM8325. the oscillator requires an external crystal on the xti and xto pins, as well as two capacitors, connected as shown in figure 17. xto WM8325 crystal oscillator xti c1 c2 32khz cp cxt lxt rxt crystal model xoscgnd figure 17 crystal oscillator a suitable crystal oscillator should be selected in accordance with the following requirements: parameter min max units nominal frequency 32.768 khz series resistance 50 70 k ? maximum driving level 0.5 ? w table 18 selection of crystal oscillator component the load capacitors c1 and c2 should be sele cted according to the recommended load capacitance, c l of the crystal, which is given by the following equation: assuming c1 = c2 and c stray = 2.75pf (typical pad i/o capacitance), then: c1 = c2 = 2 x (c l - 2.75pf). for example, if the crystal has a load capacitance c l = 9pf, then c1 = c2 = 12.5pf. if a suitable 32.768khz clock is already present elsewhere in the system, it is possible for the WM8325 to use that external clock instead. the external clock should be applied to pin xti, and the xto pin left floating in this case.
WM8325 production data w pd, february 2012, rev 4.0 50 14 instantconfig? (ice) and otp memory control 14.1 general description the WM8325 is a highly configurable device which c an be tailored specifically to the requirements of a complex system application. the sequencing and voltage control of the integrated dc-dc converters and ldos in power-up, shut-down and sl eep conditions is crucial to the robust operation of the application. in development, the WM8325 allows designers to m odify or experiment with different settings of the control sequences by writing to the applicable regis ters in the off state prior to commanding an ?on? state transition. configuration settings can also be stored on an external eeprom and loaded onto the WM8325 as required, using the instantconfig? eeprom (ice) interface. for production use, the WM8325 provides an on-chip one-time programmable (otp) memory, in which the essential parameters for starting up the device can be programmed. this allows the WM8325 to start up and shut down the system with no dependency on any other devices for application-specific configuration parameters. 14.2 ice and otp memory definition an illustration of the WM8325 memory locations is shown in figure 18. the main register map of the WM8325 contains a block of data in a ?window? area which is mirrored in the otp and/or the ice memory. data from the external ice memory can be loaded into the window area. data can be transferred from the window into otp memory and also from the otp memory into the window. the window is called the device configuration register window (dcrw); the data in this window is mirrored in other locations within the WM8325 register map. register map 00h 08h instantconfig? eeprom (ice) memory otp page3 data otp page 2 data otp page 1 data otp memory otp page 0 data 00h 08h dcrw page 4 data dcrw page 2 data dcrw page 1 data dcrw page 0 data 10h 18h ice page 3 data power management & configuration registers WM8325 dcrw page 3 data 10h factory set data unique id user configurable key ice check ice page 2 data ice page 4 data 18h 20h 28h note that the recommended external ice memory is arranged in 8-bit words figure 18 ice and otp memory layout
production data WM8325 w pd, february 2012, rev 4.0 51 the dcrw contains 5 pages of data, as illustrated in figure 18. page 0 of the dcrw contains a 128-bit pseudo-random unique id. the unique id is written to the otp at the time of manufacture. it is copied to the dcrw when the WM8325 schedules an ?on? transition. this data cannot be changed. page 1 of the dcrw contains factory-set calibrati on and configuration data. this data is written to the otp at the time of manufacture. it is copied to the dcrw when the WM8325 schedules an ?on? transition. this data cannot be changed. page 2 and page 3 of the dcrw contain bootstrap configuration data. this defines the sequence and voltage requirements for powering up the WM8325, and for configuring functions such as the clocks, gpio1-6 and led status indicators. under default conditions, the bootstrap data is loaded into the dcrw when the WM8325 schedules an ?on? transition. the WM8325 automatically determines whether to load the bootstrap data from ice or from otp as described in section 14.3. page 4 of the dcrw contains a register that is used for ice validity checking. it is copied to the dcrw whenever the bootstrap configuration data is l oaded from ice in response to a start-up request in development mode. this register field enables the ice data to be checked for valid content. the otp contains 4 pages of data, as illustrated in figure 18. the contents of the otp pages correspond to pages 0, 1, 2 and 3 of the dcrw register map addresses. the ice memory contains 3 pages of data, as illustrated in figure 18. the contents of the ice pages correspond to pages 2, 3 and 4 of the dcrw register map addresses. note that the ice memory (recommended component) is arranged as 8-bit words in ?big-endian? format, and is therefore addressed as 6 pages of 8-bit data, corresponding to 3 pages of 16-bit data. for example, the ice memory address 00h corresponds to bits 15:8 of the first register map word in dcrw page 2, and ice address 01h corresponds to bits 7:0 of that same register word in dcrw. the dcrw can be accessed directly using the c ontrol interface in the off, on and sleep power states. note that read/write access to the ice or otp memories is not possible directly; these can only be accessed by copying to/from the dcrw. in the program state, page 2 and page 3 of the dcrw can be written to the otp. 14.3 bootstrap (start-up) function under default conditions, the WM8325 bootstr ap configuration data is loaded when the WM8325 schedules an ?on? transition. the bootstrap configuration data is loaded into page 2 and page 3 of the dcrw from either an external ice or from the integrated otp. (the factory-set data in page 0 and page 1 is always loaded from the integrated otp memory.) if development mode is selected, then the bootstrap data is loaded from the instantconfig tm eeprom (ice). if development mode is not selected, then the bootstrap data is loaded from the otp memory. 14.3.1 start-up from otp memory in volume production, development mode is not usually selected. in this case, the bootstrap configuration data is loaded from the internal otp memory. the WM8325 performs a check for valid otp data; if the otp_cust_id field is set to zero, then the WM8325 remains in the off power state. a non-zero otp_cust_id field is used to confirm valid otp contents. the otp memory contents are defined similarly to pages 0, 1, 2 and 3 of the dcrw memory contents listed in section 14.6.
WM8325 production data w pd, february 2012, rev 4.0 52 14.3.2 start-up from ice memory (development mode) development mode is selected if a logic high level (referenced to the ldo12 vpmic voltage) is present on sclk2. this should be implemented using a pull-up resistor. see section 14.3.4 for details of the external ice memory connection. if development mode is selected, then the WM8325 performs a check for valid ice data; if the ice is not connected or contains invalid data, then the WM8325 remains in the off power state. the ice data is deemed valid is the ice_valid_data field contains the value a596h. the WM8325 also performs a check for valid contents in the otp_cust_id field in development mode; if the otp_cust_id field is set to zero, then the WM8325 remains in the off power state. a non-zero otp_cust_id field is used to confirm valid ice contents. note that, if a gpio pin is configured in ice memory as ?power on/off request? (gpn_fn=02h), then inverted (active low) polarity should be selected for that gpio (gpn_pol=0). the non-inverted (active high) polarity cannot be fully supported for this function in development mode. this restriction is only applicable in development mode, and applies only to the gpio ?power on/off request? function. see section 21 for details of the gpio pin configuration registers. the non-inverted (active high) polarity can be supported for the gpio ?power on/off request? function in development mode if the corresponding gpn_pol register bit in the otp memory is set to 1. note that, if the otp memory is unprogrammed, the gpn_pol bits will default to 0. 14.3.3 start-up from dcrw register settings under default settings, the bootstrap configuration data is always loaded when an on transition is scheduled. for development purposes, this can be disabled by clearing the reconfig_at_on register bit. (note that reconfig_at_on only selects whether page 2/3/4 data is loaded; page 0/1 data is always loaded from otp whenever an on transition is scheduled.) when reconfig_at_on = 1, the bootstrap data is reloaded from either the ice or otp when an on transition is scheduled. the logic level on sclk2 is checked to determine whether the ice or the otp memory should be used. if reconfig_at_on = 0, then the latest contents of the dcrw are used to configure the start-up sequence. note that, when WM8325 start-up is scheduled using this method, the contents of otp_cust_id is still checked for valid contents. in development m ode, the ice_valid_data field is also checked. see section 14.3.2 for details. note that the reconfig_at_on control register is locked by the WM8325 user key. this register can only be changed by writing the appropriate code to the security register, as described in section 12.4. address bit label default description r16390 (4006h) reset control 15 reconfig_a t_on 1 selects if the bootstrap configuration data should be reloaded when an on transition is scheduled 0 = disabled 1 = enabled protected by user key table 19 bootstrap configuration reload control 14.3.4 external ice memory connection the recommended component for the external ice is the microchip 24aa32a, which provides 32 bytes of memory space. the ice interfaces with the WM8325 via the sclk2 and sda2 pins, and initiates an i2c transfer of data from the ice when re quired. the necessary electrical connections for this device are illustrated in figure 19. the WM8325 assumes an eeprom device id of 1010 0001 (a1h) for ice read cycles. the ice memory contents are defined similarly to pages 2, 3 and 4 of the dcrw memory contents listed in section 14.6.
production data WM8325 w pd, february 2012, rev 4.0 53 figure 19 ice memory connection note that the WM8325 does not support programming the external ice memory. external programming of ice whilst physically connected to the WM8325 is possible by putting the WM8325 in the off state. this is supported on the evaluation board, provided the voltage levels on sclk2 and sda2 are less than or equal to the ldo12 vpmic voltage. note that the write-protect (wp) pin on the ice must be connected to gnd (vss) in this case. 14.4 otp / ice memory control the otp and ice memory commands are initiated by writing to the otp control register, as defined in section 14.4.6. the supported commands are described below. read ice memory - this command instructs the WM8325 to load data from the external ice into the WM8325 dcrw memory area. note that this command is performed automatically when the WM8325 starts up in development mode. read otp memory - this command instructs the WM8325 to load data from the integrated otp memory area into the WM8325 dcrw memory area. note that this command is performed automatically when the WM8325 starts up in normal (ie. non-development) mode. write otp memory - this command instructs the WM8325 to program the integrated otp, by writing a copy of the dcrw memory area (pages 0, 1, 2 and 3) to the otp memory. this command should be performed after the required settings have been configured in the dcrw memory. the required settings can be configured in the dcrw either as a result of a ice read command, or else through register writes in the program power state. note that the write otp command should only be performed once on each otp page; after the write otp command has been performed, the contents of the affected page(s) cannot be erased or re-programmed. verify otp memory - this command instructs the WM8325 to compare the contents of the otp memory with the contents of the dcrw memory. the verify otp command performs a check that the otp data is identical to the dcrw contents, in order to confirm the success of the write otp operation. for increased reliability, the WM8325 can apply a ?margin read? function when verifying the otp memory; it is recommended that the margin read option is used, as described in section 14.4.4. finalise otp pages - this command instructs the WM8325 to set the otp_cust_final bit in the otp memory. the finalise otp command ensures that any subsequent otp_write commands to page 2 or page 3 of the otp will have no effect and that the otp contents are maintained securely.
WM8325 production data w pd, february 2012, rev 4.0 54 the otp and ice memory commands are each described in the following sections. note that, in some cases, commands may be executed on a single page of memory or may be executed as a bulk operation on all available memory pages. completion of each otp or ice memory command is indicated via an interrupt flag, as described in section 14.5. the pass/fail outcome of any otp command is also indicated by the interrupt bits. note that read/write access to the WM8325 register map is not supported while a ice/otp command is in progress. it is recommended that the irq pin is configured to indicate any ice/otp interrupt event; the host processor should read the otp/ice interrupt event flags to confirm the otp/ice command status following the assertion of the irq pin. the programming supply voltage progvdd is required for the otp write commands and the otp finalise command. it is also necessary to overdriv e the ldo12vout pin from an external supply. see section 6 for details of the required supply voltages. 14.4.1 entering / exiting the program state the ice and otp commands are only supported when the WM8325 is in the program state. the WM8325 can only enter the program state as a transition from the off state. this is commanded by setting the otp_prog register bit. important note - when the program state is selected, the WM8325 will read all pages of the otp memory into the corresponding pages of the dcrw. this is required in order to confirm if the otp contents have already been finalised (see secti on 14.4.5). the previous contents of the dcrw registers will be lost when the program state is entered. the transition into the program state can be confi rmed by reading the main_state register field as defined in section 11.2. when the main_state register reads back a value of 01011, then the WM8325 is in the program state. in the program state, the ice and otp commands are initiated by further writes to the otp control register (r16394), as described in the following sections. to exit the program state and resume normal operations, a device reset must be scheduled. 14.4.2 otp / ice read command the read command loads either one or all data pages from the ice or otp into the corresponding page(s) of the dcrw. the read commands are selected by writing 1 to the otp_read bit. to read the otp, the otp_mem bit should be set to 1. to read the ice, the otp_mem bit should be set to 0. the read margin level is selected by setting the otp_read_lvl. note that this register relates to the otp only; it has no effect on ice read commands. the recommended setting for the otp read command is ?normal? level. the otp_read_lvl field should be set to 00b. to read a single memory page, the applicable page is selected by setting the otp_page field. to read all memory pages, the otp_bulk bit should be set to 1. note that the otp_page field is defined differently for ice pages and for otp pages, as detailed in section 14.4.6. all other bits in the otp control register should be set to 0 when a read command is issued. (note that otp_prog should be set to 0 when a read command is issued.) for typical applications, the bulk read commands are recommended. the otp control register contents for the otp / ice bulk read commands are detailed in table 20. read command otp control register value ice read all 0120h otp read all 2120h table 20 otp / ice read command
production data WM8325 w pd, february 2012, rev 4.0 55 14.4.3 otp write command the write command programs one or all data pages of the otp with data from the corresponding page(s) of the dcrw. the write commands are selected by writing 1 to the otp_write bit. the otp memory is selected by setting the otp_mem bit to 1. (note that the WM8325 does not support programming the external ice memory.) to write a single memory page, the applicable page is selected by setting the otp_page field. to write all memory pages, the otp_bulk bit should be set to 1. note that page 0 and page 1 will be programmed during manufacture, and cannot be re-written. otp write is then only possible to page 2 and page 3. selecting the otp_bulk bit will select otp write to page 2 and page 3 only. note that selecting the otp_bulk option will caus e an otp error to be indicated (see section 14.5). this is because the bulk write to page 0 and page 1 is not permitted after the factory configuration of the WM8325. it is still possible to verify the otp bulk write, but the otp_err_eint flag must be cleared before doing so. the recommended procedure is to write page 2 and page 3 using single page otp write commands. all other bits in the otp control register should be set to 0 when a write command is issued. (note that otp_prog should be set to 0 when a write command is issued.) the programming supply voltage progvdd is required for the otp write command. it is also necessary to overdrive the ldo12vout pin from an external supply. see section 6 for details of the required supply voltages. for typical applications, it is recommended to write page 2 and page 3 in two separate commands. the otp control register contents for these otp write commands are detailed in table 21. write command otp control register value otp write page 2 2202h otp write page 3 2203h table 21 otp write command 14.4.4 otp verify command the verify command compares one or all data pages of the otp with data in the corresponding page(s) of the dcrw. the verify commands are selected by writing 1 to the otp_verify bit. the otp memory is selected by setting the otp_mem bit to 1. (note that the WM8325 does not support verifying the external ice memory.) the read margin level is selected by setting the otp_read_lvl. the recommended setting for the otp verify command is margin 1. the otp_read_lvl field should be set to 10b. to verify a single memory page, the applicable page is selected by setting the otp_page field. to verify all memory pages, the otp_bulk bit should be set to 1. all other bits in the otp control register shoul d be set to 0 when a verify command is issued. (note that otp_prog should be set to 0 when a verify command is issued.) if the otp verify operation is unsuccessful (ie. the WM8325 detects a difference between the selected pages of the otp and dcrw memories), then this is indicated by the otp_err_eint interrupt flag, as described in section 14.5. note that, when verifying the otp after it has been finalised, the cust_otp_final bit needs to be set in the dcrw using a register write to r30736 prior to the otp_verify operation. this is because the otp_final command does not set the cust_o tp_final bit in the dcrw; it only sets it in the otp memory. if the cust_otp_final bit is not set in dcrw, then the otp_verify command will result in an otp error indication.
WM8325 production data w pd, february 2012, rev 4.0 56 the otp control register contents for all otp verify commands are detailed in table 22. verify command otp control register value otp verify page 0 2480h otp verify page 1 2481h otp verify page 2 2482h otp verify page 3 2483h otp verify all 24a0h table 22 otp verify command (margin 1) 14.4.5 otp finalise command the finalise command sets the otp finalise bit for the user-programmable pages of the otp memory. the finalise commands are selected by writing 1 to the otp_final bit. note that page 0 and page 1 will be programmed and finalised during manufacture; these memory pages cannot be re-written by users. following the user finalise command, page 2 and page 3 of the otp memory will be prevented from any further otp write commands. each page of the otp memory can be programmed only once; the otp finalise command ensures that any subsequent write commands will have no effect and that the otp contents are maintained securely. the otp memory is selected by setting the otp_mem bit to 1. (note that the WM8325 does not support this function on the external ice memory.) the customer finalise bit (cust_otp_final) is in page 2. this page is selected by setting otp_page = 10. note that the page 2 finalise bit locks the contents of page 2 and page 3. all other bits in the otp control register s hould be set to 0 when a finalise command is issued. (note that otp_prog should be set to 0 when a finalise command is issued.) the programming supply voltage progvdd is required for the otp finalise command. it is also necessary to overdrive the ldo12vout pin from an external supply. see section 6 for details of the required supply voltages. note that the otp_final command does not set the cust_otp_final bit in the dcrw; it only sets it in the otp memory. care is required when verifying a finalised otp page, to avoid an otp error indication, as described in section 14.4.4. the otp control register contents for the otp fina lise command are detailed in table 23. this is the only recommended otp finalise command; no variants of the finalise command should be used. finalise command otp control register value otp finalise page 2 (note that this command finalises the contents of otp page 2 and page 3.) 2802h table 23 otp finalise command 14.4.6 otp control register the otp control register (r16394) is defined in table 24. note that some of the otp programming registers are locked by the WM8325 user key. these registers can only be changed by writing the appropriate code to the security register, as described in section 12.4.
production data WM8325 w pd, february 2012, rev 4.0 57 address bit label default description r16394 (400ah) otp control 15 otp_prog 0 selects the program device state. 0 = no action 1 = select program mode note that, after program mode has been selected, the chip will remain in program mode until a device reset. protected by user key 13 otp_mem 1 selects ice or otp memory for program commands. 0 = ice 1 = otp protected by user key 11 otp_final 0 selects the finalise command, preventing further otp programming. 0 = no action 1 = finalise command protected by user key 10 otp_verify 0 selects the verify command for the selected otp memory page(s). 0 = no action 1 = verify command protected by user key 9 otp_write 0 selects write command for the selected otp memory page(s). 0 = no action 1 = write command protected by user key 8 otp_read 0 selects read command for the selected memory page(s). 0 = no action 1 = read command protected by user key 7:6 otp_read_l vl [1:0] 00 selects the margin level for read or verify otp commands. 00 = normal 01 = reserved 10 = margin 1 11 = margin 2 protected by user key 5 otp_bulk 0 selects the number of memory pages for ice / otp commands. 0 = single page 1 = all pages 1:0 otp_page [1:0] 00 selects the single memory page for ice / otp commands (when otp_bulk=0). if otp is selected (otp_mem = 1): 00 = page 0 01 = page 1 10 = page 2 11 = page 3 if ice is selected (otp_mem = 0): 00 = page 2 01 = page 3 10 = page 4 11 = reserved table 24 otp memory control
WM8325 production data w pd, february 2012, rev 4.0 58 14.5 otp / ice interrupts the otp and ice memories are associated with two interrupt event flags. the otp_cmd_end_eint interrupt is set each time an otp / ice command has completed or if otp auto-program has completed. (see section 14.4 for a definition of the otp and ice commands. see section 14.6.3 for details of the otp auto-program function.) the otp_err_eint interrupt is set when an otp / ice error has occurred. the errors detected include ice read failure, otp verify failure and attempted otp write to a page that has been ?finalised?. each of these secondary interrupts triggers a primary otp memory interrupt, otp_int (see section 23). this can be masked by setting the mask bit(s) as described in table 25. address bit label description r16402 (4012h) interrupt status 2 5 otp_cmd_end_eint otp / ice command end interrupt (rising edge triggered) note: cleared when a ?1? is written. 4 otp_err_eint otp / ice command fail interrupt (rising edge triggered) note: cleared when a ?1? is written. r16410 (401ah) interrupt status 2 mask 5 im_otp_cmd_end_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 4 im_otp_err_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 25 otp memory interrupts 14.6 dcrw memory contents the dcrw is the ice/otp register window, as described in section 14.2. under normal operating conditions, this memory area is initialised with data from the integrated otp or an external ice memory. the dcrw memory addresses range from r30720 (7800h) to r30759 (7827h). the complete register map definition is described in section 28. the register fields in the dcrw allow the s tart-up configuration of the dc-dc converters, the ldo regulators, gpio pins 1-6 and status led outputs to be programmed. the dcrw also provides control of selected clocking functions and the start-up (sysok) voltage threshold. most of the dcrw contents are duplicates of control r egisters that exist in the main register area below the dcrw addresses. in theses cases, reading or writing to either address will have the same effect. some register fields are defined only in the dcrw area; a detailed description of these fields is provided in the following sub-sections. 14.6.1 dcrw page 0 page 0 of the dcrw occupies register address es r30720 (7800h) to r30727 (7807h). this contains factory-preset data which is loaded from otp when an ?on? state transition is scheduled. page 0 of the dcrw contains a 128-bit unique id. note that these fields are read-only in the otp and cannot be changed.
production data WM8325 w pd, february 2012, rev 4.0 59 14.6.2 dcrw page 1 page 1 of the dcrw occupies register address es r30728 (7808h) to r30735 (780fh). this contains factory-preset data which is loaded from otp when an ?on? state transition is scheduled. page 1 of the dcrw contains trim parameters that ensure the accuracy of the voltage references and the power management rc oscillator. note that these fields are read-only in the otp and cannot be changed. 14.6.3 dcrw page 2 page 2 of the dcrw occupies register address es r30736 (7810h) to r30743 (7817h). this contains user-programmable data. this page of data is normally loaded from otp when ?on? state transition is scheduled (except in development mode or if reconfig_at_on = 0). this page of data can also be loaded from otp using the otp_read command; it can be written to the otp using the otp_write command. this page of data is loaded from the first page of ice memory (00h to 0fh) when ?on? state transition is scheduled in development mode (if reconfig_at_on = 1). this page of data can also be loaded from ice using the ice read command. note that ice address 00h corresponds to bits 15:8 at the start address of dcrw page 2; ice address 01h corresponds to bits 7:0 at the same dcrw address. if the WM8325 configuration data is loaded from external ice in response to an ?on? state transition request, and the otp_auto_prog register bit is set, then the WM8325 will program the otp with the contents page 2 and page 3 of the dcrw data, after the ice data has been loaded and confirmed as valid. the WM8325 will also perform a margin 1 verify as part of the auto-program function. the programming supply voltage progvdd is required for the otp_auto_prog command. it is also necessary to overdrive the ldo12vout pin from an external supply. see section 6 for details of the required supply voltages. using the auto-program function described above, the otp will be finalised if the otp_cust_final bit is set in the ice data. completion of the auto-progr am is indicated using the otp interrupts, as described in section 14.5. the auto-program completion is also indicated on the status led outputs, as described in section 22. the otp_cust_id field is used to hold a customer identifier for the otp data contents. whenever an ?on? state transition is requested, then the otp_cust_id field is checked to confirm valid otp data. if the otp_cust_id field is set to zero, then the WM8325 remains in the off power state. a non-zero otp_cust_id field is used to confirm valid otp contents. the otp_cust_final bit is used to control whether the user-programmable otp data (page 2 and page 3) is finalised. if otp_cust_final is set in the otp and also set in the dcrw, then the WM8325 prevents any further writes to the otp. if the dcrw has been loaded from the otp, then the otp_cust_final bit indicates whether any fur ther write operations are possible. if the dcrw has been loaded from the ice, and the otp auto-programming option is selected (see above), then the value of the otp_cust_final bit will be copied from the ice memory to the otp memory. the above registers are defined in table 26. address bit label default description r30736 (7810h) customer otp id 15 otp_auto_ prog 0 if this bit is set when bootstrap data is loaded from ice (in development mode), then the ice contents will be programmed in the otp. 14:1 otp_cust_ id [13:0] 0000h this field is checked when an ?on? transition is requested. a non-zero value is used to confirm valid data. 0 otp_cust_ final 0 if otp_cust_final is set in the otp and also set in the dcrw, then no further writes are possible to the otp. table 26 otp registers - dcrw page 2
WM8325 production data w pd, february 2012, rev 4.0 60 the remaining contents of dcrw page 2 include the registers listed in table 27, which are defined in other sections of this datasheet. register function reference dc1_on_slot [2:0] dc-dc converter 1 see section 15.11.2 dc1_freq [1:0] see section 15.11.2 dc1_phase see section 15.11.2 dc1_on_vsel [6:2] see section 15.11.2 dc1_cap [1:0] see section 15.11.2 dc2_on_slot [2:0] dc-dc converter 2 see section 15.11.2 dc2_freq [1:0] see section 15.11.2 dc2_phase see section 15.11.2 dc2_on_vsel [6:2] see section 15.11.2 dc2_cap [1:0] see section 15.11.2 dc3_on_slot [2:0] dc-dc converter 3 see section 15.11.2 dc3_phase [1:0] see section 15.11.2 dc3_on_vsel [6:2] see section 15.11.2 dc3_cap [1:0] see section 15.11.2 dc4_on_slot [2:0] dc-dc converter 4 see section 15.11.2 dc4_phase [1:0] see section 15.11.2 dc4_on_vsel [6:2] see section 15.11.2 dc4_cap [1:0] see section 15.11.2 ldo1_on_slot [2:0] ldo regulator 1 see section 15.11.3 ldo1_on_vsel [4:0] see section 15.11.3 ldo2_on_slot [2:0] ldo regulator 2 see section 15.11.3 ldo2_on_vsel [4:0] see section 15.11.3 ldo3_on_slot [2:0] ldo regulator 3 see section 15.11.3 ldo3_on_vsel [4:0] see section 15.11.3 ldo4_on_slot [2:0] ldo regulator 4 see section 15.11.3 ldo4_on_vsel [4:0] see section 15.11.3 ldo5_on_slot [2:0] ldo regulator 5 see section 15.11.3 ldo5_on_vsel [4:0] see section 15.11.3 ldo6_on_slot [2:0] ldo regulator 6 see section 15.11.3 ldo6_on_vsel [4:0] see section 15.11.3 ldo7_on_slot [2:0] ldo regulator 7 see section 15.11.3 ldo7_on_vsel [4:0] see section 15.11.3 ldo8_on_slot [2:0] ldo regulator 8 see section 15.11.3 ldo8_on_vsel [4:0] see section 15.11.3 table 27 dcrw page 2 14.6.4 dcrw page 3 page 3 of the dcrw occupies register address es r30744 (7818h) to r30751 (781fh). this contains user-programmable data. this page of data is normally loaded from otp when ?on? state transition is scheduled (except in development mode or if reconfig_at_on = 0). this page of data can also be loaded from otp using the otp_read command; it can be written to the otp using the otp_write command. this page of data is loaded from the second page of ice memory (10h to 1fh) when ?on? state transition is scheduled in development mode (if reconfig_at_on = 1). this page of data can also be loaded from ice using the ice read command. note that ice address 10h corresponds to bits 15:8 at the start address of dcrw page 3; ice address 11h corresponds to bits 7:0 at the same dcrw address.
production data WM8325 w pd, february 2012, rev 4.0 61 the contents of dcrw page 3 include the registers listed in table 28. register function reference ldo9_on_slot [2:0] ldo regulator 9 see section 15.11.3 ldo9_on_vsel [4:0] see section 15.11.3 ldo10_on_slot [2:0] ldo regulator 10 see section 15.11.3 ldo10_on_vsel [4:0] see section 15.11.3 ldo11_on_slot [2:0] ldo regulator 11 see section 15.11.3 ldo11_on_vsel [3:0] see section 15.11.3 dc4_slv dc-dc converter 4 see section 15.6.1 epe1_on_slot [2:0] external power converter enable see section 15.11.4 epe2_on_slot [2:0] see section 15.11.4 gp1_dir gpio1 see section 21.3 gp1_pull [1:0] see section 21.3 gp1_int_mode see section 21.3 gp1_pwr_dom see section 21.3 gp1_pol see section 21.3 gp1_od see section 21.3 gp1_ena see section 21.3 gp1_fn [3:0] see section 21.3 gp2_dir gpio2 see section 21.3 gp2_pull [1:0] see section 21.3 gp2_int_mode see section 21.3 gp2_pwr_dom see section 21.3 gp2_pol see section 21.3 gp2_od see section 21.3 gp2_ena see section 21.3 gp2_fn [3:0] see section 21.3 gp3_dir gpio3 see section 21.3 gp3_pull [1:0] see section 21.3 gp3_int_mode see section 21.3 gp3_pwr_dom see section 21.3 gp3_pol see section 21.3 gp3_od see section 21.3 gp3_ena see section 21.3 gp3_fn [3:0] see section 21.3 gp4_dir gpio4 see section 21.3 gp4_pull [1:0] see section 21.3 gp4_int_mode see section 21.3 gp4_pwr_dom see section 21.3 gp4_pol see section 21.3 gp4_od see section 21.3 gp4_ena see section 21.3 gp4_fn [3:0] see section 21.3 gp5_dir gpio5 see section 21.3 gp5_pull [1:0] see section 21.3 gp5_int_mode see section 21.3 gp5_pwr_dom see section 21.3 gp5_pol see section 21.3 gp5_od see section 21.3 gp5_ena see section 21.3 gp5_fn [3:0] see section 21.3 gp6_dir gpio6 see section 21.3 gp6_pull [1:0] see section 21.3
WM8325 production data w pd, february 2012, rev 4.0 62 register function reference gp6_int_mode see section 21.3 gp6_pwr_dom see section 21.3 gp6_pol see section 21.3 gp6_od see section 21.3 gp6_ena see section 21.3 gp6_fn [3:0] see section 21.3 clkout_slot [2:0] clocking see section 13.1 xtal_ena see section 13.1 xtal_inh see section 13.1 wdog_ena watchdog timer see section 25 led1_src [1:0] system status led drivers see section 22.2 led2_src [1:0] see section 22.2 sysok_thr [2:0] supply voltage monitoring see section 24.4 table 28 dcrw page 3 14.6.5 dcrw page 4 page 4 of the dcrw occupies register addresses r30752 (7820h) to r30759 (7827h). this page of data is loaded from the third page of ice me mory (20h to 2fh) when ?on? state transition is scheduled in development mode. this page of data can also be loaded from ice using the ice read command. note that ice address 20h correspo nds to bits 15:8 at the start address of dcrw page 4; ice address 21h corresponds to bits 7:0 at the same dcrw address. the ice_valid_data register is used to hold a validation field for the ice data contents. if the WM8325 configuration data is loaded from the external ice in response to an ?on? state transition request in development mode, then the ice_valid_data field is checked to confirm valid ice data. the ice data is deemed valid if the ice_valid_data field contains the value a596h. if the ice is not connected or contains invalid data, then the WM8325 remains in the off power state until a device reset. the ice_valid_data register is defined in table 29. address bit label default description r30759 (7827h) ice check data 15:0 ice_valid_ data [15:0] 0000h this field is checked in development mode when an ?on? transition is requested. a value of a596h is required to confirm valid data. table 29 ice registers - dcrw page 5
production data WM8325 w pd, february 2012, rev 4.0 63 15 power management 15.1 general description the WM8325 provides 4 dc-dc synchronous buck converters and 11 ldo regulators. the regulators comprise general purpose ldos (ldo1 - ldo6) and low-noise analogue ldos (ldo7 - ldo10). the analogue ldos offer superior psrr, noise and load-transient performance. ldo11 is a low power ldo intended for powering ?always on? circuits connected to the WM8325; this ldo can be configured to remain enabled in the off state. these power management components are designed to support application processors and associated peripherals. dc-dc1 and dc-dc2 are intended to provide power to the processor voltage domains; dc-dc3 is suitable for powering memory circuits or for use as a pre-regulator for the ldos. the output voltage of each of the buck converters and regulators is programmable in software through control registers. dc-dc3 and dc-dc4 can be ganged together in dual mode, providing an increased current capability for higher power processor voltage domains. the WM8325 can execute programmable sequenc es of enabling and disabling the dc-dc converters and ldo regulators as part of the transitions between the on, off and sleep power states. the WM8325 power management circuits can also interface with configurable hardware control functions supported via gpio pins. these include gpio inputs for selecting alternate voltages or operating modes, and gpio outputs for controlling external power management circuits. the configuration of the power management circuits, together with some of the gpio pins and other functions, may be stored in the integrated otp memory. this avoids any dependence on a host processor to configure the WM8325 at start-up. see section 14 for details of the otp memory. 15.2 dc-dc converter and ldo regulator enable the integrated dc-dc converters and ldo regulators can each be enabled in the on or sleep power states by setting the dc m _ena or ldo n _ena bits as defined in section 15.11.1. note that setting the dc m _ena or ldo n _ena bits in the off state will not enable the dc-dc converters or ldo regulators. these bits should not be written to when the WM8325 is in the off state; writing to these bits in the off state may cause a malfunction. in many applications, there will be no need to write to the dc m _ena or ldo n _ena bits, as these bits are controlled by the WM8325 when a power state transition is scheduled. dynamic, run-time control of the dc-dc converters or ldo regulators is also possible by writing to these registers. the dc-dc converters and ldo regulators can be assigned to a hardware enable (gpio) input for external enable/disable control. in this case, the converter or regulator is not affected by the associated dc m _ena or ldo n _ena bits. see section 15.3 for further details. the WM8325 can also control other circuits, incl uding external dc-dc converters or ldo regulators using the external power enable (epe) outputs. the external power enable outputs are alternate functions supported via gpio - see section 21. the external power enable outputs can be controlled in the same way as the internal dc-dc converters and ldo regulators. the associated control bits are epe1_ena and epe2_ena, as defined in section 15.11.1. ldo regulator 11 is a low power ldo regulator, which is configured differently to the other ldos. it is a low-power ldo intended for ?always-on? functions external to the WM8325 and can be enabled when the WM8325 is in the off power state. when ldo11_frcena is set, then ldo11 is enabled at all times in the off, on and sleep states. note that ldo11 is always disabled in the back up and no power states. see section 15.11.3 for the definition of ldo11_frcena. the current commanded state of each of the dc-dc converters, ldo regulators and epe outputs is indicated in the dc m _sts, ldo n _sts and epe n _sts register bits. if a fault condition causes any converter or regulator to be disabled, then the associated _ena and _sts fields are reset to 0.
WM8325 production data w pd, february 2012, rev 4.0 64 15.3 timeslot control and hardware enable (gpio) control the dc-dc converters (1-4) and ldo regulators (1-11) may be programmed to switch on in a selected timeslot within the on sequence using the dc m _on_slot or ldo n _on_slot fields. these register fields are defined in section 15.11.2 and section 15.11.3. alternatively, these fields can be used to assign a converter / regulator to one of the hardware enable inputs. (the hardware enable inputs are alternate functions supported via gpio - see section 21.) converters / regulators which are assigned to one of the hardware enable inputs are enabled or disabled according to the logic level of the respective gpio input in the on or sleep power states. the hardware enable inputs are effective from the end of the on sequence until the start of the off sequence. note that the gpio hardware enable function is not the same as the gpio hardware control function. any converters / regulators which are assigned to timeslots within the on sequence will be disabled in the reverse sequence when an off sequence is scheduled. any converters / regulators which are not assigned to timeslots, or are assigned to hardware enable inputs, will be disabled immediately at the start of the off sequence. each of the converters / regulators may also be programmed to be disabled in a selected timeslot within the sleep sequence using the dc m _slp_slot or ldo n _slp_slot fields. in the case of converters / regulators which are not disabled by the sleep sequence, these fields determine in which timeslot each converter or regulator enters its sleep configuration. any converters / regulators which are disabled as part of the sleep sequence will be enabled in the reverse sequence when a wake transition is scheduled. by default, the off sequence is the reverse of the on sequence. similarly, the wake sequence is the reverse of the sleep sequence. if a different behaviour is required, this can be achieved by writing to the _on_slot or _slp_slot registers between transitions in order to re-define the sequences. any converters / regulators which are assigned to hardware enable inputs will remain under control of the hardware enable inputs in the sleep power state. in this case, the dc m _slp_slot or ldo n _slp_slot fields determine in which timeslot the converter / regulator enters its sleep configuration. the WM8325 will control the dc m _ena or ldo n _ena bit (see section 15.2) for any converter / regulator that is enabled or disabled during the power state transitions. in the case of a converter / regulator assigned to a hardware enable (gpio) input, the dc m _ena or ldo n _ena bit is not controlled and the converter / regulator is not affected by this bit. the dc-dc converters include a soft-start feature that limits in-rush current at start-up. however, in order to further reduce supply in-rush current, it is recommended that the individual converters are programmed to start up in different time slots within the start-up sequence, as described in section 11.3. similarly, it is recommended that the individual ldo regulators are programmed to start up in different time slots within the start-up sequence, as described in section 11.3. the external power enable (epe) outputs, epe1 and epe2, may also be assigned to timeslots in the on / sleep sequences or assigned to hardware enable inputs using the epe n _on_slot and epe n _slp_slot fields described in 15.11.4. note that a transition from the sleep state to the off state is not a controlled transition. if an ?off? event occurs whilst in the sleep state, then the WM8325 will select the off state, but all the enabled converters and regulators will be disabled immediately; the time-controlled sequence is not implemented in this case. see section 11.3 for details of the WM8325 ?off? events.
production data WM8325 w pd, february 2012, rev 4.0 65 15.4 operating mode control 15.4.1 dc-dc synchronous buck converters the dc-dc converters dc-dc1 - dc-dc4 can be configured to operate in four different operating modes. the operating modes are summarised in table 30. for more detailed information on the dc- dc (buck) converter operating modes, see section 15.14.2. dc-dc converter operating mode description forced continuous conduction mode (fccm) high performance mode for all static and transient load conditions. auto mode: continuous / discontinuous conduction with pulse-skipping mode (ccm/dcm with ps) high efficiency mode for all static and transient load conditions. performance may be less than fccm mode for heavy load transients. hysteretic mode high efficiency mode for light static and light transient loads only. maximum load current is restricted; output voltage ripple is increased. ldo mode power saving mode for light loads only. high efficiency for ultra light loads. low current soft-start control. table 30 dc-dc synchronous buck converter operating modes the operating mode of the dc-dc converters in the on power state is selected using the dc m _on_mode register fields. the operating m ode of the dc-dc converters in the sleep power state is selected using the dc m _slp_mode register fields. when changing the operating mode of the dc-dc converters in preparation for an increased load, a set-up time of 100 ? s should be allowed for the operating mode to be established before applying the new load. note that the operating mode of the dc-dc converters may also be controlled by the hardware control inputs. the hardware control inputs are alternate functions supported via gpio. see section 15.8 for details of hardware control. 15.4.2 ldo regulators the ldo regulators ldo1 - ldo10 can be configured to operate in normal operating mode or in low power mode. the operating mode of the ldo regulators in the on power state is selected using the ldo n _on_mode register fields. the operating mode of the ldo regulators in the sleep power state is selected using the ldo n _slp_mode register fields. for the standard ldos, ldo1 - ldo6, two different low power modes are provided, offering limited load current capability and reduced quiescent current. when low power mode is selected in the on or sleep power states, then the ldo n _lp_mode register bits determine which low power mode is selected. note that the operating mode and output voltage of the ldo regulators may also be controlled by the hardware control inputs. the hardware control inputs are alternate functions supported via gpio. see section 15.8 for details of hardware control. 15.5 output voltage control 15.5.1 dc-dc synchronous buck converters the output voltage of the dc-dc converters 1-4 in the on power state is selected using the dc m _on_vsel register fields. the output voltage of these converters in the sleep power state is selected using the dc m _slp_vsel register fields.
WM8325 production data w pd, february 2012, rev 4.0 66 dc-dc converters 1 and 2 support two different swit ching frequencies, as described in section 15.6. note that the supported output voltage range for these converters is restricted in the 4mhz mode; for output voltages greater than 1.4v, the 2mhz mode must be used. the dc-dc converters are dynamically programmable - the output voltage may be adjusted in software at any time. these converters are step-down converters; their output voltage can therefore be lower than the input voltage, but cannot be higher. note that the output voltage of dc-dc converters 1 and 2 may also be controlled using the dynamic voltage scaling features described in section 15.6. software control (using register writes) and hardware control (using the hardware dvs control inputs supported via gpio) is supported. note that the output voltage of the dc-dc converters may also be controlled by the hardware control inputs. the hardware control inputs are alternate functions supported via gpio. see section 15.8 for details of hardware control. when changing the output voltage of dc-dc converters 1 and 2, the gpio output ?dc-dc m dvs done? can be used to confirm the dvs control has completed; see section 15.6 for details. 15.5.2 ldo regulators 1-10 the output voltage of the ldo regulators 1-10 in the on power state is selected using the ldo n _on_vsel register fields. the output voltage of the ldo regulators in the sleep power state is selected using the ldo n _slp_vsel register fields. the ldo regulators are dynamically programmable - the output voltage may be adjusted in software at any time. note that the output voltage of the ldo regulators may also be controlled by the hardware control inputs. the hardware control inputs are alternate functions supported via gpio. see section 15.8 for details of hardware control. 15.5.3 ldo regulator 11 the output voltage of ldo11 can be set in two ways - it can be commanded directly, or it can be commanded to follow the dc-dc converter 1 output voltage. when ldo11_vsel_src = 0, then the output voltage of ldo11 is set by ldo11_on_vsel (in the on state) or by ldo11_slp_vsel (in the sleep state) in the same way as the other ldos. when ldo11_vsel_src = 1, the output voltage of ldo11 follows the output voltage of dc-dc converter 1. this enables both domains to be changed at the same time, eg. the processor core and processor ?alive? domains. in this case, the ldo11 output voltage follows dc1_on_vsel or dc1_slp_vsel in the on state or sleep state respectively. note that, when ldo11_vsel_src = 1, the ldo11 regulator adopts the nearest achievable output voltage, which may not be identical to the dc-dc1 voltage, due to the more limited range and resolution of ldo11 - the output voltage of ldo11 is in the range 0.8v to 1.55v in 50mv steps; the output voltage of dc-dc1 is in the range 0.6v to 1.8v in 12.5mv steps. if dc-dc1 is disabled, then the ldo11 voltage tracking feature is not supported, and the ldo11 output voltage will be 0.8v. 15.6 dc-dc synchronous buck converter control soft-start control is provided for each of the dc-dc synchronous buck converters, using the dc m _soft_start register fields. when a dc-dc conv erter is switched on, the soft-start circuit will apply current limiting in order to control the in-rush current. for dc-dc1 and dc-dc2, the current limit is increased through up to 8 stages to the full load condition. the dc m _soft_start registers select the duration of these stages. (note that, under light loads, the full start-up may be achieved in fewer than 8 stages.) a similar function is prov ided for dc-dc3 and dc-dc4, but only 3 intermediate stages are implemented for these converters. when dc-dc3 or dc-dc4 is operating in hysteretic mode, the maximum dc output current can be set using the dc3_stnby_lim and dc4_stnby_lim registers. see section 15.4.1 for details of the dc-dc3 and dc-dc4 operating modes.
production data WM8325 w pd, february 2012, rev 4.0 67 to ensure stable operation, the register fields dc m _cap must be set for each of the dc-dc converters according to the output capacitance. (note that these fields are set via otp/ice settings only; they cannot be changed by writing to the control register.) the choice of output capacitor is described in section 30.3. when a dc-dc converter is disabled, the output pin can be configured to be floating or to be actively discharged. this is selected using dc m _flt. dc-dc converters 1 and 2 also support selectable switching frequency. this can either be 2mhz or 4mhz, according to the dc m _freq register field. (note that these fields are set via otp/ice settings only; they cannot be changed by writing to the control register.) the switching frequency of dc-dc3 is fixed at 2mhz. note that the supported output voltage range for dc-dc converters 1 and 2 is restricted in the 4mhz mode; for output voltages greater than 1.4v, the 2mhz mode must be used. note that the maximum output current for converter dc-dc2 is limited to 1250ma in the 4mhz mode; for output currents up to 2500ma, the 2mhz mode must be used. the switching phase of each dc-dc converter can be set using the dc m _phase bits. where two converters are operating at the same switching frequency, the supply current ripple can be minimised by selecting a different switching phase for each converter. the dynamic voltage scaling (dvs) feature on dc-d c1 and dc-dc2 enables hardware or software selection of an alternate output voltage, dc m _dvs_vsel. this may be useful if a short-term variation in output voltage is required. the dvs voltage (set by dc m _dvs_vsel) may be selected by setting dc m _dvs_src = 01. alternatively, the dvs voltage may be selected under control of one of the hardware dvs control inputs supported via the gpio pins. see section 21 for details of configuring the gpio pins as hardware dvs control inputs. whenever the dvs voltage is selected by any method, the dvs selection takes precedence over the on, sleep or hardware control (hwc) configuration. see section 15.8 for details of hardware control options. the output voltage ramp rate is selectable for dc-dc converters 1 and 2. the dc m _rate field selects the rate of change of output voltage, whether this is in response to an operating mode transition, or any hardware or software command. note that the dc m _rate field is accurate in forced continuous conduction mode (fccm); in other modes, the actual slew rate may be longer in the case of a decreasing output voltage selection, especially under light load conditions. the WM8325 can indicate the status of the dynamic vol tage scaling via a gpio pin configured as a ?dc-dc1 dvs done? or ?dc-dc2 dvs done? output (see section 21). when a gpio pin is configured to indicate the dvs status, this signal is temporarily de-asserted during a dvs transition on the associated dc-dc converter, and is subs equently asserted to indicate the transition has completed. note that the gpio dvs outputs indicate the progre ss of all output voltage slews; they are not limited to transitions associated with dc m _dvs_src; the gpio dvs output also indicates the status of a slew caused by a write to the dc m _on_vsel register, or a slew to the dc m _slp_vsel voltage. note also that the gpio dvs outputs are indicators of the dvs control mechanism only; they do not confirm the output voltage accuracy. the output voltage can be checked using the voltage status bits if required (see section 15.2). 15.6.1 dc-dc3 / dc-dc4 dual mode dc-dc converters 3 and 4 can be configured to operate in ?dual? mode, where the two converters are ganged together to support an increased current capability. in this mode, the two converters employ a common voltage feedback circuit in order to ensure the two outputs are accurately aligned.the dual mode is selected by configuring dc-dc4 as a ?slave? to dc-dc3. when the dc4_slv register is set, then dc-dc4 co mes under the control of the dc-dc3 registers, and both converters are controlled together. all other dc-dc4 control registers have no effect when dc4_slv is set. note that the dc4_slv register c an only be controlled via otp/ice configuration; it cannot be changed by writing to the control register.
WM8325 production data w pd, february 2012, rev 4.0 68 note that, when dc-dc3 and dc-dc4 are operati ng in dual mode, then discontinuous conduction mode operation is not possible. if the selected operating mode of dc-dc3 is auto mode (continuous / discontinuous conduction with pulse skipping), then forced continuous conduction mode (fccm) will be implemented. in forced continuous conduction mode, the dual ganged converters support an increased current capability, as detailed in the electrical charac teristics - see section 7.1. in the hysteretic and ldo operating modes, the current limit of the dual-ganged converters is the same as for a single buck converter, dc-dc3. 15.7 ldo regulator control the ldo regulators 1-10 can be configured to act as current limited switches by setting the ldo n _swi field. when this bit is selected, there is no voltage regulation and the operating mode and output voltage controls of the corresponding ldo are ignored. in switch mode, the switch is enabled (closed) and disabled (opened) by enabling or disabling the ldo. note that switch mode cannot be selected via the otp memory settings, and must be configured after the WM8325 has entered the on state. when the ldo regulator is disabled (and switch mode is not selected), the output pin can be configured to be floating or to be actively discharged. this is selected using ldo n _flt. 15.8 hardware control (gpio) the dc-dc converters, ldo regulators and ep e outputs may be controlled by the hardware control inputs supported via the gpio pins. the dc m _hwc_src, ldo n _hwc_src or epe n _hwc_src fields determine which of these hardware control inputs is effective. see section 21 for details of configuring the gpio pins as hardware control inputs. note that the gpio hardware control function is not the same as the gpio hardware enable function. hardware control is only possible when the applicable dc m _ena, ldo n _ena or epe n _ena control bit is set (see section 15.2), or if a hardware enable has been assigned to the relevant function and is asserted. the action taken in response to the selected hardware control inputs is configurable for each dc-dc converter, ldo regulator or epe output. t he available options are described below. when a hardware control input is assigned to a dc-dc buck converter, and is asserted, the operating mode and output voltage of the relevant dc-dc converter is determined by the dc m _hwc_vsel and dc m _hwc_mode fields; this takes precedence over the normal on or sleep settings. note that the hardware control input can be used to di sable a dc-dc buck converter if required, by setting dc m _hwc_mode = 01. when a hardware control input is assigned to ldo regulators 1-10, and is asserted, the operating mode and output voltage of the relevant ldo regulators is determined by the ldo n _hwc_vsel and ldo n _hwc_mode fields; this takes precedence over the normal on or sleep settings. note that, for the standard ldos (ldo1 - ldo6), when low power mode is selected (ldo n _hwc_mode = 00 or 10), then the low power mode type is determined by the ldo n _lp_mode register bits. when a hardware control input is assigned to the external power enable (epe) outputs, and is asserted, the relevant epe outputs are controlled as determined by the epe n _hwc_ena field; this takes precedence over the normal on or sleep s ettings. the available options are to de-assert the epe, or for the epe to remain under control of epe n _ena.
production data WM8325 w pd, february 2012, rev 4.0 69 15.9 fault protection each of the dc-dc buck converters (1 to 4) is monitored for voltage accuracy and fault conditions. an undervoltage condition is set if the output voltage falls below the required level by more than the applicable undervoltage margin, as specified in section 7.1. each ldo regulator (1 to 10) is monitored for voltage accuracy and fault conditions. an undervoltage condition is set if the output voltage falls below the required level by more than the undervoltage margin, as specified in section 7.2. the dc m _err_act and ldo n _err_act fields configure the fault response to an undervoltage condition. an interrupt is always triggered under this condition (see section 15.12); additional action can also be selected independently for each converter / regulator. the options are to ignore the fault, shut down the converter, or to shut down the system. to prevent false alarms during short current surges, faults are only signalled if the fault condition persists. if a fault condition is detected, and the selected response is to shut down the converter or regulator, then the associated _ena and _sts fields are reset to 0, as described in section 15.2. if a fault condition is detected, and the selected response is to shut down the system, then a device reset is triggered, as described in section 24.1, forcing a transition to the off state. the WM8325 will automatically return to the on state after performing the device reset. note that, if the fault condition persists, then a maximum of 6 device resets will be attempted to initiate the start-up sequence. if the sequence fails more than 6 times, the WM8325 will remain in the off state until the next valid on state transition event occurs. note that dc-dc1 and dc-dc2 overvoltage and high current conditions can be detected and reported as described in section 15.10. the dc m _err_act fields have no relation to these conditions. the dc-dc3 and dc-dc4 converters have a selectabl e overvoltage protection feature, controlled by dc3_ovp or dc4_ovp. this affects the converter response when the applicable converter is enabled or when its output voltage is increased. when the overvoltage protection is enabled, there is less overshoot in the output voltage, but some oscillation may occur as the voltage settles. this function should only be enabled if steep load tr ansients are present on the output of the dc-dc converter and if voltage overshoot is critical. 15.10 monitoring and fault reporting each of the dc-dc converters (1 to 4) and ldos (1 to 10) is monitored for voltage accuracy and fault conditions. an undervoltage condition is detected if the voltage falls below the required level by more than a pre-determined tolerance. if an undervoltage condition occurs, then this is indicated using the corresponding status bit(s) defined in section 15.11.5. an undervoltage condition also triggers an undervoltage interrupt (see section 15.12). additional actions to shut down the converter or perform a device reset may also be selected. the internal ldo (ldo13) is also monitored for voltage accuracy and fault conditions. an undervoltage condition in ldo13 is indicated us ing the intldo_uv_sts bit. this undervoltage condition also causes an off transition to be scheduled, as described in section 11.3. dc-dc converters 1 and 2 are monitored for overvoltage conditions. an overvoltage condition is set if the voltage is more than 100mv above the required level. if an overvoltage condition occurs, then this is indicated using the corresponding status bit(s). note that there is no interrupt or other selectable response to an overvoltage condition. the current draw on dc-dc converters 1 and 2 can be monitored against user-programmable thresholds in order to detect a high current condition. this feature is enabled using dc m _hc_ind_ena and the current threshold is set using dc m _hc_thr. note that the high current threshold is not the same as the maximum current capability of the dc-dc converters, but is set according to the application requirements. if a hi gh current condition occurs, then this is indicated using the corresponding status bit(s). a high current condition also triggers a high current interrupt (see section 15.12).
WM8325 production data w pd, february 2012, rev 4.0 70 15.11 power management register definitions 15.11.1 dc-dc converter and ldo regulator enable the enable and status register bits for the dc-dc converters and ldo regulators are defined in table 31. address bit label default description r16464 (4050h) dcdc enable 3:0 dc m _ena 0 dc-dc m enable request 0 = disabled 1 = enabled (note that the actual status is indicated in dc m _sts) r16465 (4051h) ldo enable 10:0 ldo n _ena 0 ldo n enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo n _sts) r16466 (4052h) dcdc status 3:0 dc m _sts 0 dc-dc m status 0 = disabled 1 = enabled r16467 (4053h) ldo status 10:0 ldo n _sts 0 ldo n status 0 = disabled 1 = enabled notes: 1. n is a number between 1 and 11 that identifies the individual ldo regulator. 2. m is a number between 1 and 4 that identifies the individual dc-dc converter. table 31 dc-dc converter and ldo regulator control the enable and status register bits for the external power enable (epe) controls are defined in table 32. address bit label default description r16464 (4050h) dcdc enable 7 epe2_ena 0 epe2 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in epe2_sts) 6 epe1_ena 0 epe1 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in epe1_sts) r16466 (4052h) dcdc status 7 epe2_sts 0 epe2 status 0 = disabled 1 = enabled 6 epe1_sts 0 epe1 status 0 = disabled 1 = enabled table 32 external power enable (epe) control 15.11.2 dc-dc synchronous buck converter control the register controls for configuring the dc-dc synchronous buck converters 1-4 are defined in table 33.
production data WM8325 w pd, february 2012, rev 4.0 71 note that the dc m _on_slot fields and the 5 msbs of dc m _on_vsel may also be stored in the integrated otp memory. see section 14 for details. address bit label default description r16470 (4056h) dc1 control 1 15:14 dc1_rate [1:0] 10 dc-dc1 voltage ramp rate 00 = 1 step every 32us 01 = 1 step every 16us 10 = 1 step every 8us 11 = immediate voltage change 12 dc1_phase 0 dc-dc1 clock phase control 0 = normal 1 = inverted 9:8 dc1_freq [1:0] 00 dc-dc1 switching frequency 00 = reserved 01 = 2.0mhz (2.2uh output inductor) 10 = 4.0mhz (1uh output inductor) 11 = 4.0mhz (0.5uh output inductor) this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 7 dc1_flt 0 dc-dc1 output float 0 = dc-dc1 output discharged when disabled 1 = dc-dc1 output floating when disabled 5:4 dc1_soft_ start [1:0] 00 dc-dc1 soft-start control (duration in each of the 8 startup current limiting steps.) 00 = 32us steps 01 = 64us steps 10 = 128us steps 11 = 256us steps 1:0 dc1_cap [1:0] 00 dc-dc1 output capacitor 00 = 4.7uf to 20uf 01 = reserved 10 = 22uf to 47uf 11 = reserved this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. r16471 (4057h) dc1 control 2 15:14 dc1_err_a ct [1:0] 00 dc-dc1 error action (undervoltage) 00 = ignore 01 = shut down converter 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 dc1_hwc_ src [1:0] 00 dc-dc1 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2
WM8325 production data w pd, february 2012, rev 4.0 72 address bit label default description 10 dc1_hwc_ vsel 0 dc-dc1 hardware control voltage select 0 = set by dc1_on_vsel 1 = set by dc1_slp_vsel 9:8 dc1_hwc_ mode [1:0] 11 dc-dc1 hardware control operating mode 00 = forced continuous conduction mode 01 = disabled 10 = ldo mode 11 = hysteretic mode 6:4 dc1_hc_th r [2:0] 000 dc-dc1 high current threshold 000 = 125ma 001 = 250ma 010 = 375ma 011 = 500ma 100 = 625ma 101 = 750ma 110 = 875ma 111 = 1000ma 0 dc1_hc_in d_ena 0 dc-dc1 high current detect enable 0 = disabled 1 = enabled r16472 (4058h) dc1 on config 15:13 dc1_on_sl ot [2:0] 000 dc-dc1 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 9:8 dc1_on_m ode [1:0] 00 dc-dc1 on operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse- skipping) 10 = ldo mode 11 = hysteretic mode 6:2 dc1_on_vs el [6:2] 00000 dc-dc1 on voltage select
production data WM8325 w pd, february 2012, rev 4.0 73 address bit label default description 1:0 dc1_on_vs el [1:0] 00 dc1_on_vsel[6:0] selects the dc- dc1 output voltage from 0.6v to 1.8v in 12.5mv steps. dc1_on_vsel[6:2] also exist in ice/otp memory, controlling the voltage in 50mv steps. dc1_on_vsel[6:0] is coded as follows: 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). r16473 (4059h) dc1 sleep control 15:13 dc1_slp_s lot [2:0] 000 dc-dc1 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if dc-dc1 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the converter enters its sleep condition. 9:8 dc1_slp_m ode [1:0] 00 dc-dc1 sleep operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse- skipping) 10 = ldo mode 11 = hysteretic mode 6:0 dc1_slp_v sel [6:0] 000_0000 dc-dc1 sleep voltage select 0.6v to 1.8v in 12.5mv steps 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v).
WM8325 production data w pd, february 2012, rev 4.0 74 address bit label default description r16474 (405ah) dc1 dvs control 12:11 dc1_dvs_s rc [1:0] 00 dc-dc1 dvs control source 00 = disabled 01 = enabled 10 = controlled by hardware dvs1 11 = controlled by hardware dvs2 6:0 dc1_dvs_v sel [6:0] 000_0000 dc-dc1 dvs voltage select 0.6v to 1.8v in 12.5mv steps 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). r16475 (405bh) dc2 control 1 15:14 dc2_rate [1:0] 10 same as dc-dc1 12 dc2_phase 0 same as dc-dc1 9:8 dc2_freq [1:0] 00 dc-dc2 switching frequency 00 = reserved 01 = 2.0mhz (2.2uh output inductor) 10 = 4.0mhz (1uh output inductor) 11 = reserved this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 7 dc2_flt 0 same as dc-dc1 5:4 dc2_soft_ start [1:0] 00 same as dc-dc1 1:0 dc2_cap [1:0] 00 dc-dc2 output capacitor 00 = reserved 01 = reserved 10 = 22uf to 47uf 11 = reserved this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. r16476 (405ch) dc2 control 2 15:14 dc2_err_a ct [1:0] 00 same as dc-dc1 12:11 dc2_hwc_ src [1:0] 00 same as dc-dc1 10 dc2_hwc_ vsel 0 same as dc-dc1 9:8 dc2_hwc_ mode [1:0] 11 same as dc-dc1
production data WM8325 w pd, february 2012, rev 4.0 75 address bit label default description 6:4 dc2_hc_th r [2:0] 000 dc-dc2 high current threshold 000 = 250ma 001 = 500ma 010 = 750ma 011 = 1000ma 100 = 1250ma 101 = 1500ma 110 = 1750ma 111 = 2000ma 0 dc2_hc_in d_ena 0 same as dc-dc1 r16477 (405dh) dc2 on config 15:13 dc2_on_sl ot [2:0] 000 same as dc-dc1 9:8 dc2_on_m ode [1:0] 00 same as dc-dc1 6:2 dc2_on_vs el [6:2] 00000 same as dc-dc1 1:0 dc2_on_vs el [1:0] 00 r16478 (405eh) dc2 sleep control 15:13 dc2_slp_s lot [2:0] 000 same as dc-dc1 9:8 dc2_slp_m ode [1:0] 00 same as dc-dc1 6:0 dc2_slp_v sel [6:0] 000_0000 same as dc-dc1 r16479 (405fh) dc2 dvs control 12:11 dc2_dvs_s rc [1:0] 00 same as dc-dc1 6:0 dc2_dvs_v sel [6:0] 000_0000 same as dc-dc1 r16480 (4060h) dc3 control 1 12 dc3_phase 0 same as dc-dc1 7 dc3_flt 0 same as dc-dc1 5:4 dc3_soft_ start [1:0] 01 dc-dc3 soft-start control (duration in each of the 3 intermediate startup current limiting steps.) 00 = immediate start-up 01 = 512us steps 10 = 4.096ms steps 11 = 32.768ms steps 3:2 dc3_stnby _lim [1:0] 01 dc-dc3 current limit sets the maximum dc output current in hysteretic mode. 00 = 50ma 01 = 100ma 10 = 200ma 11 = 400ma protected by user key 1:0 dc3_cap [1:0] 00 dc-dc3 output capacitor 00 = 10uf to 20uf 01 = 10uf to 20uf 10 = 22uf to 45uf 11 = 47uf to 100uf this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only.
WM8325 production data w pd, february 2012, rev 4.0 76 address bit label default description r16481 (4061h) dc3 control 2 15:14 dc3_err_a ct [1:0] 00 same as dc-dc1 12:11 dc3_hwc_ src [1:0] 00 same as dc-dc1 10 dc3_hwc_ vsel 0 same as dc-dc1 9:8 dc3_hwc_ mode [1:0] 11 same as dc-dc1 7 dc3_ovp 0 dc-dc3 overvoltage protection 0 = disabled 1 = enabled r16482 (4062h) dc3 on config 15:13 dc3_on_sl ot [2:0] 000 same as dc-dc1 9:8 dc3_on_m ode [1:0] 00 same as dc-dc1 6:2 dc3_on_vs el [6:2] 00000 dc-dc3 on voltage select dc3_on_vsel[6:0] selects the dc- dc3 output voltage from 0.85v to 3.4v in 25mv steps. dc3_on_vsel[6:2] also exist in ice/otp memory, controlling the voltage in 100mv steps. dc3_on_vsel[6:0] is coded as follows: 00h = 0.85v 01h = 0.875v ? 65h = 3.375v 66h to 7fh = 3.4v 1:0 dc3_on_vs el [1:0] 00 r16483 (4063h) dc3 sleep control 15:13 dc3_slp_s lot [2:0] 000 same as dc-dc1 9:8 dc3_slp_m ode [1:0] 00 same as dc-dc1 6:0 dc3_slp_v sel [6:0] 000_0000 dc-dc3 sleep voltage select 0.85v to 3.4v in 25mv steps 00h = 0.85v 01h = 0.875v ? 65h = 3.375v 66h to 7fh = 3.4v r16484 (4064h) dc4 control 1 13 dc4_slv 0 dc-dc4 slave mode select 0 = disabled 1 = enabled dc4_slv = 1, then dc-dc4 is a slave to dc-dc3, and both converters are controlled by the dc- dc3 registers. this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 12 dc4_phase 0 same as dc-dc1 7 dc4_flt 0 same as dc-dc1 5:4 dc4_soft_ start [1:0] 01 same as dc-dc3
production data WM8325 w pd, february 2012, rev 4.0 77 address bit label default description 3:2 dc4_stnby _lim [1:0] 01 same as dc-dc3 1:0 dc4_cap [1:0] 00 same as dc-dc3 r16485 (4065h) dc4 control 2 15:14 dc4_err_a ct [1:0] 00 same as dc-dc1 12:11 dc4_hwc_ src [1:0] 00 same as dc-dc1 10 dc4_hwc_ vsel 0 same as dc-dc1 9:8 dc4_hwc_ mode [1:0] 11 same as dc-dc1 7 dc4_ovp 0 same as dc-dc3 r16486 (4066h) dc4 on config 15:13 dc4_on_sl ot [2:0] 000 same as dc-dc1 9:8 dc4_on_m ode [1:0] 00 same as dc-dc1 6:2 dc4_on_vs el [6:2] 00000 same as dc-dc3 1:0 dc4_on_vs el [1:0] 00 same as dc-dc3 r16487 (4067h) dc4 sleep control 15:13 dc4_slp_s lot [2:0] 000 same as dc-dc1 9:8 dc4_slp_m ode [1:0] 00 same as dc-dc1 6:0 dc4_slp_v sel [6:0] 000_0000 same as dc-dc3 table 33 dc-dc converter control 15.11.3 ldo regulator control the register controls for configuring the ldo regulators 1-6 are defined in table 34. note that the ldo n _on_slot and ldo n _on_vsel fields may also be stored in the integrated otp memory. see section 14 for details. address bit label default description r16488 (4068h) ldo1 control 15:14 ldo1_err_ act [1:0] 00 ldo1 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo1_hwc _src [1:0] 00 ldo1 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo1_hwc _vsel 0 ldo1 hardware control voltage select 0 = set by ldo1_on_vsel 1 = set by ldo1_slp_vsel
WM8325 production data w pd, february 2012, rev 4.0 78 address bit label default description 9:8 ldo1_hwc _mode 10 ldo1 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo1_on_mode 7 ldo1_flt 0 ldo1 output float 0 = ldo1 output discharged when disabled 1 = ldo1 output floating when disabled 6 ldo1_swi 0 ldo1 switch mode 0 = ldo mode 1 = switch mode 0 ldo1_lp_m ode 0 ldo1 low power mode select 0 = 50ma (reduced quiescent current) 1 = 20ma (minimum quiescent current) selects which low power mode is used in on, sleep, or under hwc modes. r16489 (4069h) ldo1 on control 15:13 ldo1_on_s lot [2:0] 000 ldo1 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo1_on_ mode 0 ldo1 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo1_on_v sel [4:0] 00000 ldo1 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v
production data WM8325 w pd, february 2012, rev 4.0 79 address bit label default description r16490 (406ah) ldo1 sleep control 15:13 ldo1_slp_ slot [2:0] 000 ldo1 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo1 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo1_slp_ mode 0 ldo1 sleep operating mode 0 = normal mode 1 = low power mode 4:0 ldo1_slp_ vsel [4:0] 00000 ldo1 sleep voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v r16491 (406bh) ldo2 control 15:14 ldo2_err_ act [1:0] 00 same as ldo1 12:11 ldo2_hwc _src [1:0] 00 same as ldo1 10 ldo2_hwc _vsel 0 same as ldo1 9:8 ldo2_hwc _mode 10 same as ldo1 7 ldo2_flt 0 same as ldo1 6 ldo2_swi 0 same as ldo1 0 ldo2_lp_m ode 0 same as ldo1 r16492 (406ch) ldo2 on control 15:13 ldo2_on_s lot [2:0] 000 same as ldo1 8 ldo2_on_ mode 0 same as ldo1 4:0 ldo2_on_v sel [4:0] 00000 same as ldo1 r16493 (406dh) ldo2 sleep control 15:13 ldo2_slp_ slot [2:0] 000 same as ldo1 8 ldo2_slp_ mode 0 same as ldo1 4:0 ldo2_slp_ vsel [4:0] 00000 same as ldo1 r16494 (406eh) 15:14 ldo3_err_ act [1:0] 00 same as ldo1
WM8325 production data w pd, february 2012, rev 4.0 80 address bit label default description ldo3 control 12:11 ldo3_hwc _src [1:0] 00 same as ldo1 10 ldo3_hwc _vsel 0 same as ldo1 9:8 ldo3_hwc _mode 10 same as ldo1 7 ldo3_flt 0 same as ldo1 6 ldo3_swi 0 same as ldo1 0 ldo3_lp_m ode 0 same as ldo1 r16495 (406fh) ldo3 on control 15:13 ldo3_on_s lot [2:0] 000 same as ldo1 8 ldo3_on_ mode 0 same as ldo1 4:0 ldo3_on_v sel [4:0] 00000 same as ldo1 r16496 (4070h) ldo3 sleep control 15:13 ldo3_slp_ slot [2:0] 000 same as ldo1 8 ldo3_slp_ mode 0 same as ldo1 4:0 ldo3_slp_ vsel [4:0] 00000 same as ldo1 r16497 (4071h) ldo4 control 15:14 ldo4_err_ act [1:0] 00 same as ldo1 12:11 ldo4_hwc _src [1:0] 00 same as ldo1 10 ldo4_hwc _vsel 0 same as ldo1 9:8 ldo4_hwc _mode 10 same as ldo1 7 ldo4_flt 0 same as ldo1 6 ldo4_swi 0 same as ldo1 0 ldo4_lp_m ode 0 same as ldo1 r16498 (4072h) ldo4 on control 15:13 ldo4_on_s lot [2:0] 000 same as ldo1 8 ldo4_on_ mode 0 same as ldo1 4:0 ldo4_on_v sel [4:0] 00000 same as ldo1 r16499 (4073h) ldo4 sleep control 15:13 ldo4_slp_ slot [2:0] 000 same as ldo1 8 ldo4_slp_ mode 0 same as ldo1 4:0 ldo4_slp_ vsel [4:0] 00000 same as ldo1 r16500 (4074h) ldo5 control 15:14 ldo5_err_ act [1:0] 00 same as ldo1 12:11 ldo5_hwc _src [1:0] 00 same as ldo1 10 ldo5_hwc _vsel 0 same as ldo1 9:8 ldo5_hwc _mode 10 same as ldo1 7 ldo5_flt 0 same as ldo1 6 ldo5_swi 0 same as ldo1
production data WM8325 w pd, february 2012, rev 4.0 81 address bit label default description 0 ldo5_lp_m ode 0 same as ldo1 r16501 (4075h) ldo5 on control 15:13 ldo5_on_s lot [2:0] 000 same as ldo1 8 ldo5_on_ mode 0 same as ldo1 4:0 ldo5_on_v sel [4:0] 00000 same as ldo1 r16502 (4076h) ldo5 sleep control 15:13 ldo5_slp_ slot [2:0] 000 same as ldo1 8 ldo5_slp_ mode 0 same as ldo1 4:0 ldo5_slp_ vsel [4:0] 00000 same as ldo1 r16503 (4077h) ldo6 control 15:14 ldo6_err_ act [1:0] 00 same as ldo1 12:11 ldo6_hwc _src [1:0] 00 same as ldo1 10 ldo6_hwc _vsel 0 same as ldo1 9:8 ldo6_hwc _mode 10 same as ldo1 7 ldo6_flt 0 same as ldo1 6 ldo6_swi 0 same as ldo1 0 ldo6_lp_m ode 0 same as ldo1 r16504 (4078h) ldo6 on control 15:13 ldo6_on_s lot [2:0] 000 same as ldo1 8 ldo6_on_ mode 0 same as ldo1 4:0 ldo6_on_v sel [4:0] 00000 same as ldo1 r16505 (4079h) ldo6 sleep control 15:13 ldo6_slp_ slot [2:0] 000 same as ldo1 8 ldo6_slp_ mode 0 same as ldo1 4:0 ldo6_slp_ vsel [4:0] 00000 same as ldo1 table 34 ldo regulators 1-6 control the register controls for configuring the ldo regulators 7-10 are defined in table 35. note that the ldo n _on_slot and ldo n _on_vsel fields may also be stored in the integrated otp memory. see section 14 for details. address bit label default description r16506 (407ah) ldo7 control 15:14 ldo7_err_ act [1:0] 00 ldo7 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised.
WM8325 production data w pd, february 2012, rev 4.0 82 address bit label default description 12:11 ldo7_hwc _src [1:0] 00 ldo7 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo7_hwc _vsel 0 ldo7 hardware control voltage select 0 = set by ldo7_on_vsel 1 = set by ldo7_slp_vsel 9:8 ldo7_hwc _mode 00 ldo7 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo7_on_mode 7 ldo7_flt 0 ldo7 output float 0 = ldo7 output discharged when disabled 1 = ldo7 output floating when disabled 6 ldo7_swi 0 ldo7 switch mode 0 = ldo mode 1 = switch mode r16507 (407bh) ldo7 on control 15:13 ldo7_on_s lot [2:0] 000 ldo7 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo7_on_ mode 0 ldo7 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo7_on_v sel [4:0] 00000 ldo7 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v
production data WM8325 w pd, february 2012, rev 4.0 83 address bit label default description r16508 (407ch) ldo7 sleep control 15:13 ldo7_slp_ slot [2:0] 000 ldo7 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo7 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo7_slp_ mode 0 ldo7 sleep operating mode 0 = normal mode 1 = low power mode 4:0 ldo7_slp_ vsel [4:0] 00000 ldo7 sleep voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v r16509 (407dh) ldo8 control 15:14 ldo8_err_ act [1:0] 00 same as ldo7 12:11 ldo8_hwc _src [1:0] 00 same as ldo7 10 ldo8_hwc _vsel 0 same as ldo7 9:8 ldo8_hwc _mode 00 same as ldo7 7 ldo8_flt 0 same as ldo7 6 ldo8_swi 0 same as ldo7 r16510 (407eh) ldo8 on control 15:13 ldo8_on_s lot [2:0] 000 same as ldo7 8 ldo8_on_ mode 0 same as ldo7 4:0 ldo8_on_v sel [4:0] 00000 same as ldo7 r16511 (407fh) ldo8 sleep control 15:13 ldo8_slp_ slot [2:0] 000 same as ldo7 8 ldo8_slp_ mode 0 same as ldo7 4:0 ldo8_slp_ vsel [4:0] 00000 same as ldo7 r16512 (4080h) ldo9 control 15:14 ldo9_err_ act [1:0] 00 same as ldo7 12:11 ldo9_hwc _src [1:0] 00 same as ldo7
WM8325 production data w pd, february 2012, rev 4.0 84 address bit label default description 10 ldo9_hwc _vsel 0 same as ldo7 9:8 ldo9_hwc _mode 00 same as ldo7 7 ldo9_flt 0 same as ldo7 6 ldo9_swi 0 same as ldo7 r16513 (4081h) ldo9 on control 15:13 ldo9_on_s lot [2:0] 000 same as ldo7 8 ldo9_on_ mode 0 same as ldo7 4:0 ldo9_on_v sel [4:0] 00000 same as ldo7 r16514 (4082h) ldo9 sleep control 15:13 ldo9_slp_ slot [2:0] 000 same as ldo7 8 ldo9_slp_ mode 0 same as ldo7 4:0 ldo9_slp_ vsel [4:0] 00000 same as ldo7 r16515 (4083h) ldo10 control 15:14 ldo10_err _act [1:0] 00 same as ldo7 12:11 ldo10_hw c_src [1:0] 00 same as ldo7 10 ldo10_hw c_vsel 0 same as ldo7 9:8 ldo10_hw c_mode 00 same as ldo7 7 ldo10_flt 0 same as ldo7 6 ldo10_swi 0 same as ldo7 r16516 (4084h) ldo10 on control 15:13 ldo10_on_ slot [2:0] 000 same as ldo7 8 ldo10_on_ mode 0 same as ldo7 4:0 ldo10_on_ vsel [4:0] 00000 same as ldo7 r16517 (4085h) ldo10 sleep control 15:13 ldo10_slp _slot [2:0] 000 same as ldo7 8 ldo10_slp _mode 0 same as ldo7 4:0 ldo10_slp _vsel [4:0] 00000 same as ldo7 table 35 ldo regulators 7-10 control the register controls for configuring the ldo regulator 11 are defined in table 36. note that the ldo11_on_slot and ldo11_on_vsel fields may also be stored in the integrated otp memory. see section 14 for details.
production data WM8325 w pd, february 2012, rev 4.0 85 address bit label default description r16519 (4087h) ldo11 on control 15:13 ldo11_on_ slot [2:0] 000 ldo11 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12 ldo11_frc ena 0 ldo11 force enable (forces ldo11 to be enabled at all times in the off, on and sleep states) 0 = disabled 1 = enabled 7 ldo11_vse l_src 0 ldo11 voltage select source 0 = normal (ldo11 settings) 1 = same as dc-dc converter 1 3:0 ldo11_on_ vsel [3:0] ldo11 on voltage select 0.80v to 1.55v in 50mv steps 0h = 0.80v 1h = 0.85v 2h = 0.90v ? eh = 1.50v fh = 1.55v r16520 (4088h) ldo11 sleep control 15:13 ldo11_slp _slot [2:0] 000 ldo11 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo11 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 3:0 ldo11_slp _vsel [3:0] ldo11 sleep voltage select 0.80v to 1.55v in 50mv steps 0h = 0.80v 1h = 0.85v 2h = 0.90v ? eh = 1.50v fh = 1.55v table 36 ldo regulator 11 control
WM8325 production data w pd, february 2012, rev 4.0 86 15.11.4 external power enable (epe) control the register controls for configuring the external power enable (epe) outputs are defined in table 37. note that the epe1_on_slot and epe2_on_slot fields may also be stored in the integrated otp memory. see section 14 for details. address bit label default description r16521 (4089h) epe1 control 15:13 epe1_on_s lot [2:0] 000 epe1 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:11 epe1_hwc _src [1:0] 00 epe1 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 8 epe1_hwc ena 0 epe1 hardware control enable 0 = epe1 is controlled by epe1_ena (hardware control input(s) are ignored) 1 = epe1 is controlled by hwc inputs (hardware control input(s) force epe1 to be de-asserted) 7:5 epe1_slp_ slot [2:0] 000 epe1 sleep slot select 000 = no action 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = no action 111 = no action r1652 (408ah) epe2 control 15:13 epe2_on_s lot [2:0] 000 same as epe1 12:11 epe2_hwc _src [1:0] 00 same as epe1 8 epe2_hwc ena 0 same as epe1 7:5 epe2_slp_ slot [2:0] 000 same as epe1 table 37 external power enable (epe) control
production data WM8325 w pd, february 2012, rev 4.0 87 15.11.5 monitoring and fault reporting the overvoltage, undervoltage and high current status registers are defined in table 38. address bit label default description r16468 (4054h) dcdc uv status 13 dc2_ov_st s 0 dc-dc2 overvoltage status 0 = normal 1 = overvoltage 12 dc1_ov_st s 0 dc-dc1 overvoltage status 0 = normal 1 = overvoltage 9 dc2_hc_st s 0 dc-dc2 high current status 0 = normal 1 = high current 8 dc1_hc_st s 0 dc-dc1 high current status 0 = normal 1 = high current 3:0 dc m _uv_s ts 0 dc-dc m undervoltage status 0 = normal 1 = undervoltage r16469 (4055h) ldo uv status 15 intldo_uv _sts 0 ldo13 (internal ldo) undervoltage status 0 = normal 1 = undervoltage 9:0 ldo n _uv_s ts 0 ldo n undervoltage status 0 = normal 1 = undervoltage notes: 1. n is a number between 1 and 10 that identifies the individual ldo regulator (ldo1 - 10). 2. m is a number between 1 and 4 that identifies the individual dc-dc converter (dc-dc1 - 4). table 38 dc converter and ldo regulator status 15.12 power management interrupts undervoltage monitoring is provided on all dc-dc converters and ldo regulators, as described in section 15.10. the associated interrupt flags indic ate an undervoltage condition in each individual dc-dc converter or ldo regulator. each of these secondary interrupts triggers a primary undervoltage interrupt, uv_int (see section 23). this can be masked by setting the mask bit(s) as described in table 39. current monitoring is provided on dc-dc1 and dc-d c2, as described in section 15.10. the interrupt flags hc_dc1_eint and hc_dc2_eint indicate a high current condition in dc-dc1 and dc-dc2 respectively. each of these secondary interrupts triggers a primary high current interrupt, hc_int (see section 23). this can be masked by setting the mask bit(s) as described in table 39. the high current thresholds are programmable; these are set by dc1_hc_thr and dc2_hc_thr for dc-dc1 and dc-dc2 respectively. see secti on 15.11.2 for details of these register fields. note that these functions are for current monitoring; they do not equate to the dc-dc converter maximum current limit.
WM8325 production data w pd, february 2012, rev 4.0 88 address bit label description r16403 (4013h) interrupt status 3 9:0 uv_ldo n _eint ldo n undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. r16404 (4014h) interrupt status 4 9 hc_dc2_eint dc-dc2 high current interrupt (rising edge triggered) note: cleared when a ?1? is written. 8 hc_dc1_eint dc-dc1 high current interrupt (rising edge triggered) note: cleared when a ?1? is written. 3:0 uv_dc m _eint dc-dc m undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. r16411 (401bh) interrupt status 3 mask 9:0 im_uv_ldo n _eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) r16412 (401ch) interrupt status 4 mask 9 im_hc_dc2_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 8 im_hc_dc1_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 3:0 im_uv_dc m _eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) notes: 1. n is a number between 1 and 10 that identifies the individual ldo regulator (ldo1 - 10). 2. m is a number between 1 and 4 that identifies the individual dc-dc converter (dc-dc1 - 4). table 39 power management interrupts 15.13 power good indication the WM8325 can indicate the status of the dc-dc converters and ldo regulators via a gpio pin configured as a ?pwr_good? output (see section 21). each dc-dc converter and ldo regulator to be monitored in this way must be individually enabled as an input to the pwr_good function using the register bits defined in table 40. when a gpio pin is configured as a ?pwr_good ? output, this signal is asserted when all selected dc-dc converters and ldo regulators are oper ating correctly. if any of the enabled dc-dc converters or ldo regulators is undervoltage, then the pwr_good will be de-asserted. in this event, the host processor should read the undervoltage interrupt fields to determine which dc-dc converter or ldo regulator is affected. note that an undervoltage condition may lead to a converter being switched off automatically. in this case, the disabled converter will not indicate the fault condition via pwr_good. accordingly, the pwr_good signal may not be a reliable output in ca ses where the WM8325 is configured to shut down any converters automatically under undervoltage conditions. it is recommended that the host processor should read the undervoltage interrupts in response to pwr_good being de-asserted. the host processor can then initiate the most appropriate response.
production data WM8325 w pd, february 2012, rev 4.0 89 address bit label default description r16526 (408eh) power good source 1 3 dc4_ok 0 dc-dc4 status selected as an input to pwr_good 0 = disabled 1 = enabled 2 dc3_ok 1 dc-dc3 status selected as an input to pwr_good 0 = disabled 1 = enabled 1 dc2_ok 1 dc-dc2 status selected as an input to pwr_good 0 = disabled 1 = enabled 0 dc1_ok 1 dc-dc1 status selected as an input to pwr_good 0 = disabled 1 = enabled r16527 (408fh) power good source 2 9 ldo10_ok 1 ldo10 status selected as an input to pwr_good 0 = disabled 1 = enabled 8 ldo9_ok 1 ldo9 status selected as an input to pwr_good 0 = disabled 1 = enabled 7 ldo8_ok 1 ldo8 status selected as an input to pwr_good 0 = disabled 1 = enabled 6 ldo7_ok 1 ldo7 status selected as an input to pwr_good 0 = disabled 1 = enabled 5 ldo6_ok 1 ldo6 status selected as an input to pwr_good 0 = disabled 1 = enabled 4 ldo5_ok 1 ldo5 status selected as an input to pwr_good 0 = disabled 1 = enabled 3 ldo4_ok 1 ldo4 status selected as an input to pwr_good 0 = disabled 1 = enabled 2 ldo3_ok 1 ldo3 status selected as an input to pwr_good 0 = disabled 1 = enabled 1 ldo2_ok 1 ldo2 status selected as an input to pwr_good 0 = disabled 1 = enabled 0 ldo1_ok 1 ldo1 status selected as an input to pwr_good 0 = disabled 1 = enabled table 40 pwr_good (gpio) configuration
WM8325 production data w pd, february 2012, rev 4.0 90 15.14 dc-dc synchronous buck converter operation 15.14.1 overview the WM8325 provides four dc-dc switching converters. each of these is a synchronous buck (step- down) converter. the principal characteristics of each dc-dc converter are shown below. converters dc-dc3 and dc-dc4 can either be operated as single converters, or may be ganged together in ?dual? mode to provide an increased current capability. dc-dc1 / dc-dc2 dc-dc3 / dc-dc4 converter type buck (step-down) buck (step-down) input voltage range 2.7v to 5.5v 2.7v to 5.5v output voltage range 0.6v to 1.8v 0.85v to 3.4v load current rating up to 1250ma (dc-dc1) up to 2500ma (dc-dc2) up to 1000ma (single mode) up to 1600ma (dual mode) switching frequency 2mhz or 4mhz 2mhz table 41 dc-dc converter overview 15.14.2 dc-dc synchronous buck converters dc-dc converters 1, 2, 3 and 4 are synchronous bu ck converters which deliver high performance and high efficiency across a wide variety of operating conditions. the high switching frequency, together with the current mode architecture, delivers exceptional transient performance suitable for supplying pr ocessor power domains and similar applications requiring high stability through fast-changing load (or line) conditions. the current mode architecture enables extended bandwidth of the control loop, allowing the dc-dc converter to adapt for changes in input or output condi tions more rapidly than can be achieved using other feedback mechanisms. this improves the converter?s performance under transient load conditions. the flexible design of the dc-dc converters allows a selection of different operating configurations, which can be chosen according to the performance, ef ficiency, space or external component cost requirements. the dc-dc converter design achieves high perfor mance with a small inductor component. this is highly advantageous in size-critical designs for portable applications. in the case of dc-dc1 and dc- dc2, the switching frequency is selectable (2mhz or 4mhz). the higher frequency supports best transient performance and the smallest external inductor, whilst the lower rate supports best power efficiency. note that the supported output voltage range for dc-dc converters 1 and 2 is restricted in the 4mhz mode; for output voltages greater than 1.4v, the 2mhz mode must be used. note that the maximum output current for converter dc-dc2 is limited to 1250ma in the 4mhz mode; for output currents up to 2500ma, the 2mhz mode must be used. the dc-dc converters are compatible with a range of external output capacitors. a larger capacitor (eg. 47 ? f) will deliver best transient performance, whilst a smaller capacitor (eg. 4.7 ? f) may be preferred for size or cost reasons. four different operating modes can be selected, allowing the user to configure the converter performance and efficiency according to different dema nds. this includes power-saving modes for light load conditions and a high performance mode for best transient load performance. a low power ldo regulator mode is also provided. the dc -dc converters maintain output voltage regulation when switching between operating modes. forced continuous conduction mode (fccm) this mode delivers the best load transient performance across the entire operating load range of the converter. it also provides the best emi characteristics due to the fixed, regular switching pattern. for normal dc-dc buck converter operation, there is an inductor charging phase followed by a discharging phase. under light load conditions, the inductor current may be positive or negative
production data WM8325 w pd, february 2012, rev 4.0 91 during this cycle. (note that the load current corresponds to the average inductor current.) the negative portion of the cycle corresponds to inefficient operation, as the output capacitor is discharged unnecessarily by the converter circuit. accordingly, this mode is not optimally efficient for light load conditions. this mode offers excellent performance under transient load conditions. it exceeds the performance of the other operating modes in the event of a decreasing current demand or a decreasing voltage selection. this is because fccm mode can actively pull down the output voltage to the required level, whilst other modes rely on the load to pull the converter voltage down under these conditions. another important benefit of this mode is that the switching pattern is fixed, regardless of load conditions. this provides best compatibility with noise-sensitive circuits where the noise frequency spectrum must be well-defined. although this mode is not optimally efficient for light loads, it delivers the best possible transient load performance and fixed frequency switching. this mode should be selected when best performance is required, delivering minimum output voltage ripple acro ss all static or transient load conditions. auto mode: continuous / discontinuous conduction with pulse-skipping (ccm/dcm with ps) this is an automatic mode that selects different control modes according to the load conditions. the converter supports the full range of load conditions in this mode, and automatically selects power- saving mechanisms when the load conditions are suitable. under light load conditions, the efficiency in this mode is superior to the fccm mode. the transient load performance may be slightly worse than fccm mode. the converter operates in continuous conduc tion mode (ccm) for heavy load conditions, and discontinuous conduction mode (dcm) under lighter loads. discontinuous conduction is when the inductor current falls to zero during the dischar ge phase, and the converter disables the synchronous rectifier transistor in order that the inductor current remains at zero until the next charge phase. negative inductor current is blocked in this mode, eliminating the associated losses, and improving efficiency. the transient response in this mode varies accordi ng to the operating conditions; it differs from fccm in the case of a decreasing current demand or a decreasing voltage, as the converter uses the load to pull the output voltage down to the required level. a light load will result in a slow response time. a minimum inductor charge time is applied in dcm mode; this leads to a minimum average inductor current when operating as described above. under very light load conditions, pulse skipping is used to reduce the average inductor current to the level required by the load. in pulse-skipping mode, the charge phase of selected cycles is not scheduled, and the load is supported by the output capacitor over more than one cycle of the switching frequency. as well as supporting very light load current conditions, this mechanism offers power savings, as the switching losses associated with the skipped pulses are eliminated. a disadvantage of this is that the transient response is degraded even further with respect to dcm. when the pulse-skipping behaviour is invoked, an increased output voltage ripple may be observed under some load conditions. this mode is suitable for a wide range of operating conditions. it supports the full range of load currents, and offers efficiency savings under light load conditions. hysteretic mode hysteretic mode is a power-saving mode. it does not support the full load capability of the dc-dc converter, but offers efficiency improvements over the fccm and auto (ccm/dcm with ps) modes. the control circuit in hysteretic mode operates very differently to the pulse-skipping mode that is available in auto mode. in pulse-skipping mode, selected switching cycles are dropped in order to reduce the output current to match a light load condition, whilst maintaining good output voltage ripple as far as possible. in hysteretic mode, the converter uses switched operation on an adaptive intermittent basis to deliver the required average current to the load. in the switched operation portion of the hysteretic mode, the converter drives the output voltage up; this is followed by a power-saving period in which the control circuit is largely disabled whilst the load pulls the output voltage down again over a period of many switching cycles. the duration of the fixed frequency bursts and the time between bursts is adapted automatically by the output voltage monitoring circuit.
WM8325 production data w pd, february 2012, rev 4.0 92 in this mode, the power dissipation is reduced to a very low level by disabling parts of the control circuitry for the duration of selected switching cycles. this improves the overall efficiency, but also leads to output voltage ripple and limited performance. this mode produces a larger output voltage ripple than the pulse-skipping mode. in order to limit the degradation of the dc-dc converter performance in hysteretic mode, the control circ uit is designed for a restricted range of load conditions only. note that the irregular switching pattern also results in degraded emi behaviour. hysteretic mode and pulse skipping mode are both pulse frequency modulation (pfm)-type modes, where the switching pulse frequency is adjusted dynamically according to the load requirements. a consequence of this frequency modulation is that the circuit?s emi characteristics are less predictable. in hysteretic mode in particular, the emi effects aris ing from the dc-dc switching are present across a wider frequency band than is the case in ccm and dcm. it is more difficult to effectively suppress the wide band interference, and this factor may result in hysteretic mode being unsuitable for some operating conditions. hysteretic mode is suitable for light load conditions only, and only suitable for operating modes that are not sensitive to wide band rf/emi effects. the output voltage ripple (and frequency) is load dependent, and is generally worse than pulse-skipping operation in the auto mode. provided that the emi and voltage ripple can be tolerated, the hysteretic mode offers an efficiency advantage over the auto (ccm/dcm with ps) mode. ldo mode in this mode, there is no fet switching at all, and the converter operates as a low drop-out (ldo) regulator. in this mode, the fet switching losses are eliminated, as is the power consumption of the dc-dc control circuit. under suitable operating c onditions, this provides the most efficient option for light loads, without any of the emi or voltage ripple limitations of hysteretic mode. as with any ldo, the output voltage is constant, and there is no internal source of voltage ripple. unlike the switching modes, the power efficiency of the ldo mode is highly dependent on the input and output voltages; the ldo is most efficient when the voltage drop between input and output is small. the power dissipated as heat loss by an ldo increases rapidly as the input - output voltage difference increases. ldo mode is suitable for light loads, and provides a ripple-free output. the ldo mode features a very low start-up current; this mode can be used to avoid the higher in-rush current that occurs in the switching converter modes. the efficiency is dependent on the input - output voltage configuration; the ldo mode can be highly efficient, but may also be unacceptably inefficient. if an improvement in power efficiency is required, then hysteretic mode may be the preferred choice or, for better emi and voltage ripple, the auto (ccm/dcm with ps) mode may be the optimum selection. operating mode summary mode description application forced continuous conduction mode (fccm) buck converter operation where inductor current is continuous at all times. high performance for all static and transient load conditions. fixed frequency switching offers best compatibility with sensitive circuits. auto mode: continuous / discontinuous conduction with pulse-skipping mode (ccm/dcm with ps) buck converter operation where inductor current may be discontinuous under reduced loads; pulse-skipping also enabled under lighter loads. high efficiency for all static and transient load conditions. performance may be less than fccm mode for heavy load transients. hysteretic mode the converter uses a hysteretic control scheme with pulsed switching operation. the control circuitry is disabled intermittently for power saving. high efficiency for light static and light transient loads only. maximum load current is restricted; output voltage ripple is increased. ldo mode no fet switching at all; linear regulator operation. power saving mode for light loads only. high efficiency for ultra light loads. low current soft-start control. table 42 dc-dcsynchronous buck converter operating modes summary
production data WM8325 w pd, february 2012, rev 4.0 93 typical connections the typical connections to dc-dc converter 1 are illustrated in figure 20. the equivalent circuit applies to dc-dc converters 2, 3 and 4 also. the input voltage connection to dc-dc converters 1-4 is provided on dc1vdd, dc2vdd, dc3vdd and dc3vdd respectively; these pins must be connected to the pvdd power supply voltage node. figure 20 dc-dc synchonous buck converter connections the recommended output capacitor c out varies according to the required transient response. note that the dc m _cap register field must be set according to the output capacitance on each dc-dc converter in order to achieve best performance. in the case of dc-dc1 and dc-dc2, the recommended inductor component varies according to the dc m _freq register field. this register suppor ts a choice of different switching frequencies and inductor components. see section 30.3 for details of specific recommended external components. dc-dc3 / dc-dc4 dual mode dc-dc converters 3 and 4 can be configured to oper ate in ?dual? mode, where the two converters are ganged together to support an increased current capability. this mode is selected by setting the dc4_slv bit in the otp/ice memory configuration registers. when dc-dc3 and dc-dc4 are operating in dual mode, the external component configuration for each converter is the same as previously noted for single converters. the output load connection points (v o ) are simply connected together as shown in figure 21.
WM8325 production data w pd, february 2012, rev 4.0 94 figure 21 dc-dc3 / dc-dc4 dual mode converter connections the recommended output capacitor c out varies according to the required transient response. note that the dc m _cap register field must be set according to the output capacitance on each dc-dc converter in order to achieve best performance. see section 30.3 for details of specific recommended external components. 15.15 ldo regulator operation 15.15.1 overview the WM8325 provides 11 ldo regulators. four of these are low-noise analogue ldos. one of the ldo regulators (ldo11) can be configured to be enabled even when the WM8325 is in the off state. the principal characteristics of the ldo regulators are shown below. ldo1 ldo2, 3 ldo4, 5, 6 ldo7, 8 ldo9, 10 ldo11 converter type general purpose general purpose general purpose analogue analogue general purpose input voltage range 1.5v to 5.5v 1.5v to 5.5v 1.5v to 5.5v 1.71v to 5.5v 1.71v to 5.5v 1.8v to 5.5v output voltage range 0.9v to 3.3v 0.9v to 3.3v 0.9v to 3.3v 1.0v to 3.5v 1.0v to 3.5v 0.8v to 1.55v load current rating up to 300ma up to 200ma up to 100ma up to 200ma up to 150ma up to 25ma pass device impedance @ 2.5v 1 ? 1 ? 2 ? 1 ? 2 ? n/a table 43 ldo regulator overview
production data WM8325 w pd, february 2012, rev 4.0 95 15.15.2 ldo regulators the ldo regulators are configurable circuits which generate accurate, low-noise supply voltages for various system components. the ldo regulators are dynamically programmable and can be re- configured at any time. two low power modes are provided for the general purpose ldos 1-6; a single low power mode is provided for the analogue ldos 7-10; this enables the overall device power consumption to be minimised at all times. the ldos 1-10 can also operate as current-limited switches, with no voltage regulation; this is useful for ?hot swap? outputs, i.e. supply rails for external devices that are plugged in when the system is already powered up - the current-limiting function prevents the in-rush current into the external device from disturbing other system power supplies. the input voltage to these ldos is provided on pins ldo3vdd, ldo4vdd, ldo5vdd, ldo6vdd for ldo3 through to ldo6 respectively. the other ldo inputs are shared on pins ldo1_2vdd, ldo7_8vdd and ldo9_10vdd for each corresponding pair of ldos. the ldo input supply pins may be connected to the pvdd power supply voltage node, or else can be connected to the output pin of one of the dc-dc buck converters. note that the ldo input supply pins must not be connected to a voltage higher than pvdd. ldo11 is a configurable ldo intended for ?always-on? functions external to the WM8325. the WM8325 contains a further two non-configurable ldos which support internal functions only. the connections to ldo regulator 1 are illustrated in figure 22. the equivalent circuit applies to ldo2 through to ldo10. figure 22 ldo regulator connections an input and output capacitor are recommended for each ldo regulator, as illustrated above. see section 30.4 for details of specific recommended external components.
WM8325 production data w pd, february 2012, rev 4.0 96 16 reserved
production data WM8325 w pd, february 2012, rev 4.0 97 17 power supply control 17.1 general description the primary power supply to the WM8325 is provided via the pvdd pin. this supply is required for normal device functionality. the pvdd voltage is monitored internally to detect a low voltage condition where the device can no longer operate. a power path management interrupt is raised when pvdd falls below an undervoltage threshold, as described in section 17.2. a backup power source may be provided for the WM8325. this enables the real time clock (rtc) and other selected registers to be maintained when pvdd is not available. this is described in section 17.3. 17.2 power path management interrupts the power path management circuit is associated with an interrupt event flag. the ppm_syslo_eint interrupt bit is set when the internal signal syslo is asserted. this indicates a pvdd undervoltage condition, described in section 24.4. this secondary interrupt triggers a primary power path management interrupt, ppm_int (see section 23). this can be masked by setting the mask bit as described in table 44. address bit label description r16401 (4011h) interrupt status 1 15 ppm_syslo_eint power path syslo interrupt (rising edge triggered) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 15 im_ppm_syslo_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 44 power path management interrupt 17.3 backup power as an option, a backup power source can be provi ded for the WM8325. this is provided using a coin cell, super/gold capacitor, or else a standard capacitor, connected to the ldo12vout pin. note that a 22k ? series resistor should also be connected to the backup power source. the ldo12vout pin provides a constant voltage output for charging the backup power source whenever the pvdd power domain is available. the purpose of the backup is to power the always-on functions such as the crystal oscillator, rtc and alarm control registers. the backup power also maintains a ?software scratch? memory area in the register map - see section 12.6. maintaining these func tions at all times provides system continuity even when the main battery is removed and no other power supply is available. the backup duration will vary depending upon the backup power source characteristics. a typical coin cell can provide power to the WM8325 in backup mode for a month or more whilst also maintaining the rtc and the ?software scratch? register. if a standard capacitor is used as the backup power source, then it is particularly important to minimise the device power consumption in the backup state. a 22 ? f capacitor will maintain the device settings for up to 5 minutes in ?unclocked? mode, where power consumption is minimised by stopping the rtc in the backup state. the rtc is unclocked in the backup state if the xtal_bkupena register field is set to 0, as described in section 20.5.
WM8325 production data w pd, february 2012, rev 4.0 98 18 auxiliary adc 18.1 general description the WM8325 incorporates a 12-bit auxiliary adc (auxadc). this can be used to perform a number of system measurements (including supply vol tages and battery temperature) and can also be used to measure analogue voltages from external sources and sensors. external inputs to the auxadc should be connected to the pins gpio10, gpio11 and gpio12. the maximum voltage that can be measured is determined by the power domain associated with each; this is selectable on a pin by pin basis as described in section 21.3. note that, when gpio10, gpio11 or gpio12 is used as an input to the auxadc, then the normal gpio functionality cannot be supported on the affected pin(s). in this case, it is recommended that the respective gpio(s) are tri-stated, as described in section 21.3. 18.2 auxadc control the auxadc is enabled by setting the aux_ena r egister bit. by default, the auxadc is not enabled in the sleep state, but this can be selected using the aux_slpena field. the auxadc measurements can be initiated m anually or automatically. for automatic operation, the aux_rate register is set according to the required conversion rate, and conversions are enabled by setting the aux_cvt_ena bit. for manual operation, the aux_rate register is set to 00h, and each manual conversion is initiated by setting the aux_cvt_ena bit. in manual mode, the aux_cvt_ena bit is reset by the WM8325 after each conversion. (note that the conversion result is not available for readback until the auxadc interrupt is asserted, as described in section 18.5.) the auxadc has 5 available input sources. each of these inputs is enabled by setting the respective bit in the auxadc source register (r16431). for each auxadc measurement event (in manual or automatic modes), the WM8325 selects the next enabled input source. any number of inputs may be selected simultaneously; the auxadc will measure each one in turn. note that only a single auxadc measurement is made on any manual or automatic trigger. for example, if the gpio10, gpio12 and pvdd voltages are enabled for auxadc measurement, then gpio10 would be measured in the first instance, and gpio12 then pvdd would be measured on the next manual or automatic auxadc triggers. in this case, a total of three manual or automatic auxadc triggers would be required to measure all of the selected inputs. the control fields associated with initiating auxadc measurements are defined in table 45. address bit label default description r16430 (402eh) auxadc control 15 aux_ena 0 auxadc enable 0 = disabled 1 = enabled note - this bit is reset to 0 when the off power state is entered. 14 aux_cvt_ena 0 auxadc conversion enable 0 = disabled 1 = enabled in automatic mode, conversions are enabled by setting this bit. in manual mode (aux_rate = 0), setting this bit will initiate a conversion; the bit is reset automatically after each conversion. 12 aux_slpena 0 auxadc sleep enable 0 = disabled 1 = controlled by aux_ena
production data WM8325 w pd, february 2012, rev 4.0 99 address bit label default description 5:0 aux_rate [5:0] 00_0000 auxadc conversion rate 0 = manual 1 = 2 samples/s 2 = 4 samples/s 3 = 6 samples/s ? 31 = 62 samples/s 32 = reserved 33 = 16 samples/s 34 = 32 samples/s 35 = 48 samples/s ? 63 = 496 samples/s r16431 (402fh) auxadc source 6 aux_pvdd_sel 0 auxadc pvdd input select 0 = disable pvdd measurement 1 = enable pvdd measurement 4 aux_chip_tem p_sel 0 auxadc chip temp input select 0 = disable chip temp measurement 1 = enable chip temp measurement 2 aux_gpio12_se l 0 auxadc gpio12 input select 0 = disable gpio12 measurement 1 = enable gpio12 measurement 1 aux_gpio11_se l 0 auxadc gpio11 input select 0 = disable gpio11 measurement 1 = enable gpio11 measurement 0 aux_gpio10_se l 0 auxadc gpio10 input select 0 = disable gpio10 measurement 1 = enable gpio10 measurement table 45 auxadc control 18.3 auxadc readback measured data from the auxadc is read via the au xadc data register (r16429), which contains two fields. the auxadc data source is indicated in the aux_data_src field; the associated measurement data is contained in the aux_data field. reading from the auxadc data register returns a 12-bit code which represents the most recent auxadc measurement on the associated channel. it should be noted that every time an auxadc measurement is written to the auxadc data regis ter, the previous data is overwritten - the host processor should ensure that data is read from thi s register before it is overwritten. the auxadc interrupts can be used to indicate when ne w data is available - see section 18.5. the 12-bit aux_data field can be equated to the actual voltage (or temperature) according to the following equations, where aux_data is regarded as an unsigned integer:
WM8325 production data w pd, february 2012, rev 4.0 100 the maximum voltage that can be measured on the input pins gpio10, gpio11 and gpio12 is determined by the power domain associated with each; this is selectable on a pin by pin basis using the gpn_pwr_dom register bits described in section 21.3. the input voltage at the gpio pin must not exceed the voltage of the respective power domain (ie. dbvdd or pvdd). in a typical application, it is anticipated that the au xadc interrupts would be used to control the auxadc readback - the host processor should read the auxadc data register in response to the auxadc interrupt event. see section 18.5 for details of auxadc interrupts. in automatic auxadc mode, the processor should complete this action before the next measurement occurs, in order to avoid losing any auxadc samples. in manual conversion mode, the interrupt signal provides confirmation that the commanded measurement has been completed. the control fields associated with initi ating auxadc readback are defined in table 46. address bit label default description r16429 (402dh) auxadc data 15:12 aux_data_src [3:0] 000 auxadc data source 1 = gpio10 2 = gpio11 3 = gpio12 5 = chip temperature 7 = pvdd voltage all other values are reserved 11:0 aux_data [11:0] 000h auxadc measurement data voltage (mv) = aux_data x 1.465 chiptemp ( ? c) = (498 - aux_data) / 1.09 table 46 auxadc readback
production data WM8325 w pd, february 2012, rev 4.0 101 18.4 digital comparators the WM8325 has four digital comparators which may be used to compare auxadc measurement data against programmable threshold values. each comparator has a status bit, and also an associated interrupt flag (described in section 18.5), which indicates that the associated data is beyond the threshold value. the digital comparators are enabled using the dcmpn_ena register bits as described in table 45. after an auxadc conversion, the measured value is compared with the threshold level of any associated comparator(s). note that this comparison is only performed following a conversion. the source data for each comparator is selected using the dcmp n _src register bits; this selects one of the auxadc channels for each comparator. if required, the same auxadc channel may be selected for more than one comparator; this would allow more than one threshold to be monitored on the same auxadc channel. note that the backup batter y voltage input can only be monitored using dcmp4. the dcmp n _gt register bits select whether the status bit and associated interrupt flag will be asserted when the measured value is above the threshold or when the measured value is below the threshold. the output of the most recent threshold comparison is indicated in the dcomp n _sts fields. the threshold dcmp n _thr is a 12-bit code for each comparator. this field follows the same voltage or temperature coding as the associated au xadc channel source (see section 18.3). address bit label default description r16432 (4030h) comparator control 11 dcomp4_sts 0 digital comparator 4 status 0 = comparator 4 threshold not detected 1 = comparator 4 threshold detected (trigger is controlled by dcmp4_gt) 10 dcomp3_sts 0 digital comparator 3 status 0 = comparator 3 threshold not detected 1 = comparator 3 threshold detected (trigger is controlled by dcmp3_gt) 9 dcomp2_sts 0 digital comparator 2 status 0 = comparator 2 threshold not detected 1 = comparator 2 threshold detected (trigger is controlled by dcmp2_gt) 8 dcomp1_sts 0 digital comparator 1 status 0 = comparator 1 threshold not detected 1 = comparator 1 threshold detected (trigger is controlled by dcmp1_gt) 3 dcmp4_ena 0 digital comparator 4 enable 0 = disabled 1 = enabled 2 dcmp3_ena 0 digital comparator 3 enable 0 = disabled 1 = enabled 1 dcmp2_ena 0 digital comparator 2 enable 0 = disabled 1 = enabled 0 dcmp1_ena 0 digital comparator 1 enable 0 = disabled 1 = enabled r16433 (4031h) comparator 1 15:13 dcmp1_src [2:0] 000 digital comparator 1 source select 0 = reserved
WM8325 production data w pd, february 2012, rev 4.0 102 address bit label default description 1 = gpio10 2 = gpio11 3 = gpio12 4 = reserved 5 = chip temperature 6 = reserved 7 = pvdd voltage 12 dcmp1_gt 0 digital comparator 1 interrupt control 0 = interrupt when less than threshold 1 = interrupt when greater than or equal to threshold 11:0 dcmp1_thr 000h digital comparator 1 threshold (12-bit unsigned binary number; coding is the same as aux_data) r16434 (4032h) comparator 2 15:13 dcmp2_src [2:0] 000 digital comparator 2 source select 0 = reserved 1 = gpio10 2 = gpio11 3 = gpio12 4 = reserved 5 = chip temperature 6 = reserved 7 = pvdd voltage 12 dcmp2_gt 0 digital comparator 2 interrupt control 0 = interrupt when less than threshold 1 = interrupt when greater than or equal to threshold 11:0 dcmp2_thr 000h digital comparator 2 threshold (12-bit unsigned binary number; coding is the same as aux_data) r16435 (4033h) comparator 3 15:13 dcmp3_src [2:0] 000 digital comparator 3 source select 0 = reserved 1 = gpio10 2 = gpio11 3 = gpio12 4 = reserved 5 = chip temperature 6 = reserved 7 = pvdd voltage 12 dcmp3_gt 0 digital comparator 3 interrupt control 0 = interrupt when less than threshold 1 = interrupt when greater than or equal to threshold 11:0 dcmp3_thr 000h digital comparator 3 threshold (12-bit unsigned binary number; coding is the same as aux_data) r16436 (4034h) comparator 4 15:13 dcmp4_src [2:0] 000 digital comparator 4 source select 0 = backup battery voltage 1 = gpio10 2 = gpio11 3 = gpio12 4 = reserved
production data WM8325 w pd, february 2012, rev 4.0 103 address bit label default description 5 = chip temperature 6 = reserved 7 = pvdd voltage 12 dcmp4_gt 0 digital comparator 4 interrupt control 0 = interrupt when less than threshold 1 = interrupt when greater than or equal to threshold 11:0 dcmp4_thr 000h digital comparator 4 threshold (12-bit unsigned binary number; coding is the same as aux_data) table 47 auxadc digital comparator control 18.5 auxadc interrupts the auxadc is associated with a number of interrupt event flags to indicate when new auxadc data is ready, or to indicate that one or more of the digital comparator thresholds has been crossed. each of these secondary interrupts triggers a primary auxadc interrupt, auxadc_int (see section 23). this can be masked by setting the mask bit(s) as described in table 48. note that auxadc_data_eint is not cleared by reading the measured auxadc data, it can only be cleared by writing ?1? to the auxadc_data_eint register. the auxadc interrupts can be progr ammed using bits in table 48. address bit label description r16401 (4011h) interrupt status 1 8 auxadc_data_eint auxadc data ready interrupt (rising edge triggered) note: cleared when a ?1? is written. 7:4 auxadc_dcomp n _eint auxadc digital comparator n interrupt (trigger is controlled by dcmp n _gt) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 8 im_auxadc_data_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 7:4 im_auxadc_dcomp n _ei nt interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) note: n is a number between 1 and 4 that identifies the individual comparator. table 48 auxadc interrupts
WM8325 production data w pd, february 2012, rev 4.0 104 19 reserved
production data WM8325 w pd, february 2012, rev 4.0 105 20 real-time clock (rtc) 20.1 general description the WM8325 provides a real time clock (rtc) in the form of a 32-bit counter. the rtc uses the 32.768khz crystal oscillator as its clock source and increments the register value once per second. (note that a direct cmos input may be used in place of the crystal oscillator; both options are described in section 13.) to compensate for errors in the clock frequency, the rtc includes a frequency trim capability. the rtc is enabled at all times, including when the WM8325 is in the backup state. when required, the rtc can be maintained via a backup battery in the absence of any other power supply. in the absence of a backup battery, the rtc contents can be hel d (unclocked) for a limited period of up to 5 minutes via a 22 ? f capacitor. the rtc incorporates an alarm function. the alarm time is held in a 32-bit register. when the rtc counter matches the alarm time, a selectable response will be actioned. for digital rights management purposes, the rtc includes security features designed to detect unauthorised modifications to the rtc counter. 20.2 rtc control the 32-bit rtc counter value, rtc_time is held in two 16-bit registers, r16417 (4021h) and r16418 (4022h). the value of rtc_time is incremented by the WM8325 once per second. on initial power-up (from the no power state), these registers will be initialised to default values. once either of these registers has been written to, the rtc_valid bit is set to indicate that the rtc_time registers contain valid data. when rtc registers are updated, the rtc_sync_busy bit indicates that the rtc is busy. the rtc registers should not be written to when rtc_sync_busy = 1. the rtc_wr_cnt field is provided as a security feature for the rtc. after initialisation, this field is updated on every write to r16417 (4021h) or to r16418 (4022h). this enables the host processor to detect unauthorised modifications to the rtc counter value. see section 20.4 for more details. for additional security, the WM8325 does not allow the rtc to be updated more than 8 times in a one-hour period. additional write attempts will be ignored. the rtc alarm time is held in registers r16419 (4023h) and r16420 (4024h). the alarm function is enabled when rtc_alm_ena is set. when the alarm is enabled, and the rtc counter matches the alarm time, the rtc alarm interrupt is triggered, as described in section 20.3. if the rtc alarm occurs in the sleep power state, then a wake transition request is generated. if the rtc alarm occurs in the off power state, then an on transition request is generated. see section 11.3 for details. when updating the rtc alarm time, it is recommended to disable the alarm first, by setting rtc_alm_ena = 0. the rtc alarm registers should not be written to when rtc_sync_busy = 1. the rtc has a frequency trim feature to allow compensation for known and constant errors in the crystal oscillator frequency up to 8hz. the rtc_trim field is a 10-bit fixed point 2?s complement number. msb scaling = -8hz. to compensate for errors in the clock frequency, this register should be set to the error (in hz) with respect to the ideal (32768hz) of the input crystal frequency. for example, if the actual crystal frequency = 32769.00hz, then the frequency error = +1hz. the value of rtc_trim in this case is 0001_000000. for example, if the actual crystal frequency = 32763.78hz, then the frequency error = -4.218750hz. the value of rtc_trim in this case is 1011_110010. note that the rtc_trim control register is locked by the WM8325 user key. this register can only be changed by writing the appropriate code to the security register, as described in section 12.4.
WM8325 production data w pd, february 2012, rev 4.0 106 address bit label default description r16416 (4020h) rtc write counter 15:0 rtc_wr_cnt 0000h rtc write counter. this random number is updated on every write to the rtc_time registers. r16417 (4021h) rtc time 1 15:0 rtc_time [31:16] 0000h rtc seconds counter (msw) rtc_time increments by 1 every second. this is the 16 msbs. r16418 (4022h) rtc time 2 15:0 rtc_time [15:0] 0000h rtc seconds counter (lsw) rtc_time increments by 1 every second. this is the 16 lsbs. r16419 (4023h) rtc alarm 1 15:0 rtc_alm [31:16] 0000h rtc alarm time (msw) 16 msbs of rtc_alm r16420 (4024h) rtc alarm 2 15:0 rtc_alm [15:0] 0000h rtc alarm time (lsw) 16 lsbs of rtc_alm r16421 (4025h) rtc control 15 rtc_valid 0 rtc valid status 0 = rtc_time has not been set since power on reset 1 = rtc_time has been written to since power on reset 14 rtc_sync_bus y 0 rtc busy status 0 = normal 1 = busy the rtc registers should not be written to when rtc_sync_busy = 1. 10 rtc_alm_ena 0 rtc alarm enable 0 = disabled 1 = enabled r16422 (4026h) rtc trim 9:0 rtc_trim 000h rtc frequency trim. value is a 10bit fixed point <4,6> 2?s complement number. msb scaling = -8hz. the register indicates the error (in hz) with respect to the ideal 32768hz) of the input crystal frequency. protected by user key table 49 real time clock (rtc) control
production data WM8325 w pd, february 2012, rev 4.0 107 20.3 rtc interrupts the real time clock (rtc) is associated with two interrupt event flags. the rtc_per_eint interrupt is set each time a periodic timeout occurs. the periodic timeout is configured using the rtc_pint_freq field described in table 51. the rtc_alm_eint interrupt is set when the rtc alarm is triggered. the rtc alarm time is configured as described in section 20.2. each of these secondary interrupts triggers a primary real time clock interrupt, rtc_int (see section 23). this can be masked by setting the mask bit(s) as described in table 50. address bit label description r16401 (4011h) interrupt status 1 3 rtc_per_eint rtc periodic interrupt (rising edge triggered) note: cleared when a ?1? is written. 2 rtc_alm_eint rtc alarm interrupt (rising edge triggered) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 3 im_rtc_per_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 2 im_rtc_alm_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 50 real time clock (rtc) interrupts the frequency of the rtc periodic interrupts is set by the rtc_pint_freq field, as described in table 51. address bit label default description r16421 (4025h) rtc control 6:4 rtc_pint_freq [2:0] 000 rtc periodic interrupt timeout period 000 = disabled 001 = 2s 010 = 4s 011 = 8s 100 = 16s 101 = 32s 110 = 64s 111 = 128s table 51 real time clock (rtc) periodic interrupt control
WM8325 production data w pd, february 2012, rev 4.0 108 20.4 digital rights management the real time clock (rtc) maintains a continuous record of the time; this is maintained at all times, including when the WM8325 is powered down and the rtc function is maintained by the backup battery. it is highly desirable to be able to write to the rtc counter in order to configure it for logical translation into hours/minutes and to support calendar functions. however, for digital rights management purposes, it is important that malicious modification of the rtc is either prevented or detected. the security measure implemented on the WM8325 is the rtc write counter. this register is initialised to 0000h during power on reset, and is updated automatically whenever a write operation is scheduled on either of the rtc_time registers. note that, when the rtc write counter is updated, the new value is generated at random; it is not a sequential counter. it is assumed that legitimate updates to the rtc_time are only those initiated by the application processor (ap). when the ap makes an update to the rtc_time, the ap can also read the new value of the rtc write counter, and should store the value in non-volatile memory. if the ap detects a change in value of the rtc write counter, and this was not caused by the ap itself writing to the rtc_time, this means that an unauthorised write to the rtc_time registers has occurred. in order to make it difficult for an unauthorised rtc_time update to be masked by simply writing to the rtc write counter, the rtc_wr_cnt field is generated at random by the WM8325 whenever the rtc_time field is updated. for additional security, the WM8325 does not allow the rtc to be updated more than 8 times in a one-hour period. additional write attempts will be ignored. the rtc control registers are described in table 49. 20.5 backup mode clocking options the backup state is entered when the pvdd power supply is below the reset threshold of the device. typically, this means that the pvdd supply has been removed. most of the device functions and registers are reset in this state. the rtc and oscillator and a ?software scratch? memory area can be maintained from a backup power source in the backup state. this is provided using a coin cell, super/gold capacitor, or else a standard capacitor, connected to the ldo12vout pin via a 22k ? resistor. see section 17.3 for further details. the rtc and oscillator can be disabled in the back up state by setting the xt al_bkupena register bit to 0. this feature may be used to minimise the device power consumption in the backup state. a 22 ? f capacitor connected to ldo12vout can maintain the rtc value, unclocked, for up to 5 minutes in backup if the oscillator is disabled. the xtal_bkupena register bit is defined in section 13.1. for more details on backup power, see section 17.3.
production data WM8325 w pd, february 2012, rev 4.0 109 21 general purpose inputs / outputs (gpio) 21.1 general description the WM8325 has 12 general-purpose input/output (gpio) pins, gpio1 - gpio12. these can be configured as inputs or outputs, active high or active low, with optional on-chip pull-up or pull-down resistors. gpio outputs can either be cmos driven or open drain configuration. each gpio pin can be tri-stated and can also be used to trigger interrupts. the function of each gpio pin is selected individual ly. different voltage power domains are selectable on a pin by pin basis for gpios 1-12. input de-bounce is automatically implemented on selected gpio functions. note that, when gpio10, gpio11 or gpio12 is used as an input to the auxadc (see section 18), then the normal gpio functionality cannot be supported on the affected pin(s). it is recommended that the respective gpio(s) are tri-stated, as described in section 21.3. 21.2 gpio functions the list of gpio functions supported by the WM8325 is contained in table 52 (for input functions) and table 53 (for output functions). the input functions are selected when the respective gp n _dir register bit is 1. the output functions are selected when the respective gp n _dir register bit is 0. the selected function for each gpio pin is selected by writing to the respective gp n _fn register bits. all functions are available on all gpio pins. t he polarity of each input or output gpio function can be selected using the applicable gp n _pol register bit. the available power domains for each pin are specific to different gpios. the de-bounce time for the gpio input functions is determined by the gpn_fn field. some of the input functions allow a choice of de-bounce times, as detailed in table 52. the register controls for configuring the gpio pins are defined in section 21.3. gpn_fn gpio input function description de-bounce time 0h gpio gpio input. logic level is read from the gpn_lvl register bits. see section 21.3. 32 ? s to 64 ? s 1h 4ms to 8ms 2h on/off request control input for requesting an on/off state transition. see section 11.3. under default polarity (gpn_pol=1), a rising edge requests the on state and a falling edge requests the off state. 32ms 64ms 3h sleep/wake request control input for requesting a sleep/wake state transition. see section 11.3. under default polarity (gpn_pol=1), a rising edge requests the sleep state and a falling edge requests the wake transition to the on state. 32 ? s to 64 ? s 4h 32ms to 64ms 5h sleep request control input for requesting a sleep state transition. see section 11.3. under default polarity (gpn_pol=1), a rising edge requests the sleep state and a falling edge has no effect. 32 ? s to 64 ? s 6h on request control input for requesting an on state transition. see section 11.3. under default polarity (gpn_pol=1), a rising edge requests the on state and a falling edge has no effect. 32 ? s to 64 ? s 7h watchdog reset control input for resetting the watchdog timer. see section 25. 32 ? s to 64 ? s
WM8325 production data w pd, february 2012, rev 4.0 110 gpn_fn gpio input function description de-bounce time 8h hardware dvs control 1 control input for selecting the dvs output voltage in one or more dc-dc converters. see section 15.6. none 9h hardware dvs control 2 control input for selecting the dvs output voltage in one or more dc-dc converters. see section 15.6. none ah hardware enable 1 control input for enabling one or more dc-dc converters and ldo regulators. see section 15. 32 ? s to 64 ? s bh hardware enable 2 control input for enabling one or more dc-dc converters and ldo regulators. see section 15. 32 ? s to 64 ? s ch hardware control input 1 control input for selecting the operating mode and/or output voltage of one or more dc-dc converters and ldo regulators. see section 15. 32 ? s to 64 ? s dh hardware control input 2 control input for selecting the operating mode and/or output voltage of one or more dc-dc converters and ldo regulators. see section 15. 32 ? s to 64 ? s eh hardware control input 1 control input for selecting the operating mode and/or output voltage of one or more dc-dc converters and ldo regulators. see section 15. 32ms to 64ms fh hardware control input 2 control input for selecting the operating mode and/or output voltage of one or more dc-dc converters and ldo regulators. see section 15. 32ms to 64ms table 52 list of gpio input functions further details of the gpio input de-bounce time are noted in section 21.3. gpn_fn gpio output function description 0h gpio gpio output. logic level is set by writing to the gpn_lvl register bits. see section 21.3. 1h oscillator clock 32.768khz clock output. see section 13. 2h on state logic output indicating that the WM8325 is in the on state. see section 11.5. 3h sleep state logic output indicating that the WM8325 is in the sleep state. see section 11.5. 4h power state change logic output asserted whenever a power on reset, or an on, off, sleep or wake transition has completed. under default polarity (gp n _pol=1), the logic level is the same as the ps_int interrupt status flag. note that, if any of the associated secondary interrupts is masked, then the respective event will not affect the power state change gpio output. see section 11.2 and section 11.4. 8h dc-dc1 dvs done logic output indicating that dc-dc1 buck converter dvs slew has been completed. this signal is temporarily de-asserted during voltage transitions (including non-dvs transitions). see section 15.6. 9h dc-dc2 dvs done logic output indicating that dc-dc1 buck converter dvs slew has been completed. this signal is temporarily de-asserted during voltage transitions (including non-dvs transitions). see section 15.6.
production data WM8325 w pd, february 2012, rev 4.0 111 gpn_fn gpio output function description ah external power enable 1 logic output assigned to one of the timeslots in the on/off and sleep/wake sequences. this can be used for sequenced control of external circuits. see section 15.3. bh external power enable 2 logic output assigned to one of the timeslots in the on/off and sleep/wake sequences. this can be used for sequenced control of external circuits. see section 15.3. ch system supply good (pvdd good) logic output from pvdd monitoring circuit. this function represents the internal sysok signal. see section 24.4. dh converter power good (pwr_good) status output indicating that all selected dc-dc converters and ldo regulators are operating correctly. only asserted in on and sleep modes. see section 15.13. eh external power clock 2mhz clock output suitable for clocking external dc-dc converters. this clock signal is synchronized with the WM8325 dc converters clocking signal. see section 13. this clock output is only enabled when either of the external power enable signals (epe1 or epe2) is asserted. these signals can be assigned to one of the timeslots in the on/off and sleep/wake sequences. see section 15.3. fh auxiliary reset logic output indicating a reset condition. this signal is asserted in the off state. the status in sleep mode is configurable. see section 11.7. note that the default polarity for this function (gp n _pol=1) is ?active high?. setting gp n _pol=0 will select ?active low? function. table 53 list of gpio output functions 21.3 configuring gpio pins the gpio pins are configured using the resister fields defined in table 54. the function of each gpio is selected using the gp n_fn register field. the pin direction field gpn_dir selects between input functions and output functions. see section 21.2 for a summary of the available gpio functions. the polarity of each gpio can be configured using the gpn_pol bits. this inversion is effective both on gpio inputs and outputs. when gpn_pol = 1, the non-inverted ?active high? polarity applies. the opposite logic can be selected by setting gpn_pol = 0. the voltage power domain of each gpio is determined by the gpn_pwr_dom register. note that the available options vary between different gpio pins, as described in table 56. a gpio output may be either cmos driven or open drain. this is selected using the gpn_od bits. internal pull-up or pull-down resistors can be enabled on each pin using the gpn_pull field. both resistors are available for use when the associated gpio is an input. when the gpio pin is configured as an open drain output, the internal pull-up resistor may be required if no external pull-up resistors are present. a gpio pin may be tri-stated using the gpn_ena register field. when gpn_ena = 0, the respective pin is tri-stated. a tri-stated pin exhibits high impedance to any external circuit and is disconnected from the internal gpio circuits. the pull-up and pull-down resistors are disabled when a gpio pin is tri-stated. gpio pins can generate an interrupt (see section 21.4). the gp n _int_mode field selects whether the interrupt occurs on a single active edge only, or else on both rising and falling edges. when single edge is selected, the active edge is the rising edge (when gpn_pol = 1) or the falling edge (when gpn_pol = 0). when gpio10, gpio11 or gpio12 is used as an input to the auxadc (see section 18), it is recommended that the respective gpio(s) are tri-stated (ie. gpn_ena = 0). the normal gpio functionality cannot be supported on a gpio pin that is enabled as an input to the auxadc.
WM8325 production data w pd, february 2012, rev 4.0 112 address bit label default description r16440 (4038h) to r16451 (4043h) 15 gpn_dir 1 gpio n pin direction 0 = output 1 = input 14:13 gpn_pull [1:0] 01 gpio n pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gpn_int_m ode 0 gpio n interrupt mode 0 = gpio interrupt is rising edge triggered (if gp n _pol=1) or falling edge triggered (if gp n _pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gpn_pwr_d om 0 gpio n power domain see table 56. 10 gpn_pol 1 gpio n polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gpn_od 0 gpio n output pin configuration 0 = cmos 1 = open drain 7 gpn_ena 0 gpio n enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp n _fn [3:0] 0000 gpio n pin function see table 57. note: n is a number between 1 and 12 that identifies the individual gpio. note: the default values noted are valid when the WM8325 powers up to the off state, or if the register map is reset following a device reset or software reset event. in the case of gpio pins 1 to 6, these registers are overwritten with the respective ice or otp memory contents when an on transition is scheduled. table 54 gpio pin configuration when the gpio output function is selected (gpn_fn = 0h, gpn_dir = 0), the state of a gpio output is controlled by writing to the corresponding gp n _lvl register bit, as defined in table 55. the logic level of a gpio input is determined by reading the corresponding gp n _lvl register bit. if gpn_pol is set, then the read value of the gpn_lvl field for a gpio input is the inverse of the external signal. note that, when the gpio input level changes, the logic level of gpn_lvl will only be updated after the maximum de-bounce period, as listed in table 52. an input pulse that is shorter than the minimum de-bounce period will be filtered by the de-bounce function and will be ignored. if a gpio is configured as a cmos output (ie. gpn_od = 0), then the read value of the gpn_lvl field will indicate the logic level of that output. if gp n _pol is set, then the read value of the gp n _lvl field for a gpio output is the inverse of the level on the external pad. if a gpio is configured as an open drain output, then the read value of gpn_lvl is only valid when the internal pull-up resistor is enabled on the pin (ie. when gpn_pull = 10). the read value is also affected by the gpn_pol bit, as described above for the cmos case. if a gpio is tri-stated (gpn_ena = 0), then the read value of the corresponding gpn_lvl field is invalid.
production data WM8325 w pd, february 2012, rev 4.0 113 address bit label default description r16396 (400ch) gpio level 11 gp12_lvl 0 gpio n level. when gp n _fn = 0h and gp n _dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp n _pol is 0, the register contains the opposite logic level to the external pin. 10 gp11_lvl 0 9 gp10_lvl 0 8 gp9_lvl 0 7 gp8_lvl 0 6 gp7_lvl 0 5 gp6_lvl 0 4 gp5_lvl 0 3 gp4_lvl 0 2 gp3_lvl 0 1 gp2_lvl 0 0 gp1_lvl 0 table 55 gpio level register the power domain for each gpio is controlled us ing the gpn_pwr_dom registers as described in table 56. the selected power domain for each gpio affects the maximum input voltage that can be supported on the respective pin(s). note that this is also applicable when gpio10, gpio11 or gpio12 are used as inputs to the auxadc (see section 18). the input voltage at the gpio pin must not exceed the voltage of the respective power domain. address bit label default description r16440 (4038h) gpio1 control 11 gp1_pwr_do m 0 gpio1 power domain select 0 = dbvdd 1 = vpmic (ldo12) r16441 (4039h) gpio2 control 11 gp2_pwr_do m 0 gpio2 power domain select 0 = dbvdd 1 = vpmic (ldo12) r16442 (403ah) gpio3 control 11 gp3_pwr_do m 0 gpio3 power domain select 0 = dbvdd 1 = vpmic (ldo12) r16443 (403bh) gpio4 control 11 gp4_pwr_do m 0 gpio4 power domain select 0 = dbvdd 1 = pvdd r16444 (403ch) gpio5 control 11 gp5_pwr_do m 0 gpio5 power domain select 0 = dbvdd 1 = pvdd r16445 (403dh) gpio6 control 11 gp6_pwr_do m 0 gpio6 power domain select 0 = dbvdd 1 = pvdd r16446 (403eh) gpio7 control 11 gp7_pwr_do m 0 gpio7 power domain select 0 = dbvdd 1 = vpmic (ldo12) r16447 (403fh) gpio8 control 11 gp8_pwr_do m 0 gpio8 power domain select 0 = dbvdd 1 = vpmic (ldo12) r16448 (4040h) gpio9 control 11 gp9_pwr_do m 0 gpio9 power domain select 0 = dbvdd 1 = vpmic (ldo12) r16449 (4041h) gpio10 11 gp10_pwr_d om 0 gpio10 power domain select 0 = dbvdd 1 = pvdd
WM8325 production data w pd, february 2012, rev 4.0 114 address bit label default description control r16450 (4042h) gpio11 control 11 gp11_pwr_d om 0 gpio11 power domain select 0 = dbvdd 1 = pvdd r16451 (4043h) gpio12 control 11 gp12_pwr_d om 0 gpio12 power domain select 0 = dbvdd 1 = pvdd table 56 gpio power domain registers the function of each gpio is controlled using the gpn_fn registers defined in table 57. note that the selected function also depends on the associated gpn_dir field described in table 54. see also section 21.2 for additional details of each gpio function, including the applicable de-bounce times for gpio input functions. address bit label default description r16440 (4038h) gpio1 control 3:0 gp1_fn [3:0] 0000 input functions: 0h = gpio input (long de-bounce) 1h = gpio input 2h = power on/off request 3h = sleep/wake request 4h = sleep/wake request (long de- bounce) 5h = sleep request 6h = power on request 7h = watchdog reset input 8h = dvs1 input 9h = dvs2 input ah = hw enable1 input bh = hw enable2 input ch = hw control1 input dh = hw control2 input eh = hw control1 input (long de- bounce) fh = hw control2 input (long de- bounce) output functions: 0h = gpio output 1h = 32.768khz oscillator output 2h = on state 3h = sleep state 4h = power state change 5h = reserved 6h = reserved 7h = reserved 8h = dc1 dvs done 9h = dc2 dvs done ah = external power enable1 bh = external power enable2 ch = system supply good (sysok) dh = converter power good (pwr_good) eh = external power clock (2mhz) fh = auxiliary reset r16441 (4039h) gpio2 control 3:0 gp2_fn [3:0] 0000 r16442 (403ah) gpio3 control 3:0 gp3_fn [3:0] 0000 r16443 (403bh) gpio4 control 3:0 gp4_fn [3:0] 0000 r16444 (403ch) gpio5 control 3:0 gp5_fn [3:0] 0000 r16445 (403dh) gpio6 control 3:0 gp6_fn [3:0] 0000 r16446 (403eh) gpio7 control 3:0 gp7_fn [3:0] 0000 r16447 (403fh) gpio8 control 3:0 gp8_fn [3:0] 0000 r16448 (4040h) gpio9 control 3:0 gp9_fn [3:0] 0000 r16449 (4041h) gpio10 control 3:0 gp10_fn [3:0] 0000 r16450 (4042h) gpio11 control 3:0 gp11_fn [3:0] 0000 r16451 (4043h) gpio12 control 3:0 gp12_fn [3:0] 0000 table 57 gpio function select registers
production data WM8325 w pd, february 2012, rev 4.0 115 note that gpio input functions 2h, 3h, 4h, 5h and 6h are edge-triggered only. the associated state transition(s) are scheduled only when a rising or falling edge is detected on the respective gpio pin. at other times, it is possible that other state transition events may cause a state transition regardless of the state of the gpio input. see section 11.3 for details of all the state transition events. 21.4 gpio interrupts each gpio pin has an associated interrupt flag, gp n _eint, in register r16405 (4015h). each of these secondary interrupts triggers a primary gpio interrupt, gp_int (see section 23). this can be masked by setting the mask bit(s) as described in table 58. see section 28 and section 29 for a definition of the register bit positions applicable to each gpio. address bit label description r16405 (4015h) interrupt status 5 15:0 gp n _eint gpio interrupt. (trigger is controlled by gp n _int_mode) note: cleared when a ?1? is written. r16413 (401dh) interrupt status 5 mask 15:0 im_gp n _eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) note: n is a number between 1 and 12 that identifies the individual gpio. table 58 gpio interrupts
WM8325 production data w pd, february 2012, rev 4.0 116 22 system status led drivers 22.1 general description the WM8325 provides two system status led driv ers. these are digital outputs intended for driving leds directly. the led outputs can be assigned to indicate otp program status or power state status. they can also be commanded directly via register control, in order to provide any other required functionality. 22.2 led driver control led drivers are configurable in the on and sleep power states only. the functionality of the led drivers is controlled by the ledn_src register bits, as described in table 59. address bit label default description r16460 (404ch) status led1 15:14 led1_src [1:0] 11 led1 source (selects the led1 function.) 00 = off 01 = power state status 10 = reserved 11 = manual mode note - led1 also indicates completion of otp auto program r16461 (404dh) status led2 15:14 led2_src [1:0] 11 led2 source (selects the led2 function.) 00 = off 01 = power state status 10 = reserved 11 = manual mode note - led2 also indicates an otp auto progam error condition table 59 system status led control 22.2.1 otp progam status the led drivers indicate the status of the otp auto program function, where the contents of the external instantconfig? eeprom (ice) memory are automatically programmed into the otp. see section 14.6.3 for further details of the otp auto program function. when the otp auto program function is executed, the system status led drivers follow the functionality defined in table 60. led driver description drive mode led ?on? time on:off duty cycle led1 otp auto program complete constant n/a n/a led2 otp auto progam error constant n/a n/a table 60 system status led outputs - otp program status the otp program status led outputs will continue until a device reset. note that the otp program status is always indicated via the led outputs, regardless of the ledn_src register fields.
production data WM8325 w pd, february 2012, rev 4.0 117 22.2.2 power state status setting ledn_src = 01 configures the associated le d to indicate power state status. under this selection, four different conditions may be indicated, as defined in table 61. led driver description drive mode led ?on? time on:off duty cycle led1 or led2 power sequence failure pulsed sequence (4 pulses) 1s 1:1 pvdd low continuous pulsed 250ms 1:3 on state constant n/a n/a sleep state continuous pulsed 250ms 1:7 table 61 system status led outputs - power state status if more than one of the conditions listed occurs simultaneously, then the led output pattern is controlled by the condition in the highest position within the list above. for example, if the pvdd low condition occurs while in the on or sleep states, then the led output follows the pattern defined for the pvdd low condition. the pvdd low indication is asserted if pvdd is less than the user-selectable threshold syslo_thr, as described in section 24.4. note that, in the case of power sequence failure, the transition to off occurs after the 4 led pulses have been emitted. 22.2.3 manual mode setting ledn_src = 11 configures the associ ated led to operate in manual mode, which is configured using additional register fields. in manual mode, the led output can be commanded as off, on (constant), continuous pulsed or pulsed sequence. the selected operation is determined by the ledn_mode registers as described in table 62. in continuous pulsed mode and pulsed sequence mode, the ?on? time and the duty cycle can be configured using the ledn_dur and led n_duty_cyc registers respectively. in pulsed sequence mode, the number of pulses in the sequence can be selected using the ledn_seq_len register. on completion of the commanded number of pulses, the led remains off until ledn_mode or ledn_src is changed to another value. address bit label default description r16460 (404ch) status led1 9:8 led1_mode [1:0] 00 led1 mode (controls led1 in manual mode only.) 00 = off 01 = constant 10 = continuous pulsed 11 = pulsed sequence 5:4 led1_seq_le n [1:0] 10 led1 pulse sequence length (when led1_mode = pulsed sequence) 00 = 1 pulse 01 = 2 pulses 10 = 4 pulses 11 = 7 pulses
WM8325 production data w pd, february 2012, rev 4.0 118 address bit label default description 3:2 led1_dur [1:0] 01 led1 on time (when led1_mode = continuous pulsed or pulsed sequence) 00 = 1 second 01 = 250ms 10 = 125ms 11 = 62.5ms 1:0 led1_duty_c yc [1:0] 10 led1 duty cycle (on:off ratio) (when led1_mode = continuous pulsed or pulsed sequence) 00 = 1:1 (50% on) 01 = 1:2:(33.3% on) 10 = 1:3 (25% on) 11 = 1:7 (12.5% on) r16461 (404dh) status led2 9:8 led2_mode [1:0] 00 led2 mode (controls led2 in manual mode only.) 00 = off 01 = constant 10 = continuous pulsed 11 = pulsed sequence 5:4 led2_seq_le n [1:0] 10 led2 pulse sequence length (when led2_mode = pulsed sequence) 00 = 1 pulse 01 = 2 pulses 10 = 4 pulses 11 = 7 pulses 3:2 led2_dur [1:0] 01 led2 on time (when led2_mode = continuous pulsed or pulsed sequence) 00 = 1 second 01 = 250ms 10 = 125ms 11 = 62.5ms 1:0 led2_duty_c yc [1:0] 10 led2 duty cycle (on:off ratio) (when led2_mode = continuous pulsed or pulsed sequence) 00 = 1:1 (50% on) 01 = 1:2:(33.3% on) 10 = 1:3 (25% on) 11 = 1:7 (12.5% on) table 62 system status led outputs - manual mode control
production data WM8325 w pd, february 2012, rev 4.0 119 22.3 led driver connections the recommended connection for system status leds is illustrated in figure 23. the led outputs are referenced to the pvdd power domain. a series resistor may be required, depending on the led characteristics and the pvdd voltage. WM8325 led1 pvdd gnd note: equivalent circuit applies for led2 figure 23 system status led connections
WM8325 production data w pd, february 2012, rev 4.0 120 23 interrupt controller the WM8325 has a comprehensive interrupt logic capability. the dedicated irq pin can be used to alert a host processor to selected events or fault conditions. each of the interrupt conditions can be individually enabled or masked. following an interrupt event, the host processor should read the interrupt registers in order to determine what caused the interrupt, and take appropriate action if required. the WM8325 interrupt controller has two levels: secondary interrupts indicate a single event in one of the circuit blocks. the event is indicated by setting a register bit. this bit is a latching bit - once it is set, it remains at logic 1 even if the trigger condition is cleared. the secondary interrupts are cleared by writing a logic 1 to the relevant register bit. note that reading the register does not clear the secondary interrupt. primary interrupts are the logical or of the associated secondary interrupts (usually all the interrupts associated with one particular circuit block). each of the secondary interrupts can be individually masked or enabled as an input to the corresponding primary interrupt. the primary interrupt register r16400 (4010h) is read-only. the status of the irq pin reflects the logical nor of the pr imary interrupts. a logic 0 indicates that one or more of the primary interrupts is asserted. each of the primary interrupts can be individually masked or enabled as an input to the irq pin output. the irq pin output can either be cmos driven or open drain (integrated pull-up) configuration, as determined by the irq_od register bit. when the irq pin is open drain, it is actively driven low when asserted; the pull-up causes a logic high output when not asserted. the open drain configuration enables multiple devices to share a common interrupt line with the host processor. the irq pin output can be masked by setting the im_irq register bit. when the irq pin is masked, it is held in the logic 1 (or open drain) state regardless of any internal interrupt event. note that the secondary interrupt bits are always valid - they are set as normal, regardless of whether the bit is enabled or masked as an input to the corresponding primary interrupt. the primary interrupt bits are set and cleared as normal in response to any unmasked secondary interrupt, regardless of whether the primary interrupt bit is enabled or masked as an input to the irq pin output. note also that if any internal condition is configured to trigger an event other than an interrupt (eg. the watchdog timer triggers reset), these events are always actioned, regardless of the state of any interrupt mask bits. the irq pin output is configured using the register bits described in table 63. address bit label description r16407 (4017h) irq config 1 irq_od irq pin configuration 0 = cmos 1 = open drain (integrated pull-up) 0 im_irq irq pin output mask 0 = normal 1 = irq output is masked table 63 irq pin configuration
production data WM8325 w pd, february 2012, rev 4.0 121 the interrupt logic is illustrated in figure 24. event-level register bit (read only) e.g. rtc_alm_eint event / fault condition sets secondary interrupt e.g. rtc alarm ?mask? register bit (read/write) e.g. im_rtc_alm_eint writing ?1? to this bit clears the secondary interrupt and or other secondary interrupts e.g. rtc_per_eint nor irq pin other primary interrupts e.g. wdog_int, auxadc_int and ?mask? register bit (read/write) e.g. im_rtc_int primary interrupt register bit (read only) e.g. rtc_int or irq mask bit im_irq figure 24 interrupt logic following the assertion of the irq pin to indicate an interrupt event, the host processor can determine which primary interrupt caused the event by reading the primary interrupt register r16400 (4010h). this register is defined in section 23.1. after reading the primary interrupt register, the host processor must read the corresponding secondary interrupt register(s) in order to determine which specific event caused the irq pin to be asserted. the host processor clears the secondary interrupt bit by writing a logic 1 to that bit. 23.1 primary interrupts the primary interrupts are defined in table 64. these bits are read only. they are set when any of the associated unmasked secondary interrupts is set. they can only be reset when all of the associated secondary resets are cleared or masked. each primary interrupt can be masked. when a mask bit is set, the corresponding primary interrupt is masked and does not cause the irq pin to be asserted. the primary interrupt bits in r16408 (4018h) are valid regardless of whether the mask bit is set. the primary interrupts are all masked by default. address bit label description r16400 (4010h) system interrupts 15 ps_int power state primary interrupt 0 = no interrupt 1 = interrupt is asserted 14 temp_int thermal primary interrupt 0 = no interrupt 1 = interrupt is asserted 13 gp_int gpio primary interrupt 0 = no interrupt 1 = interrupt is asserted 12 on_pin_int on pin primary interrupt 0 = no interrupt 1 = interrupt is asserted 11 wdog_int watchdog primary interrupt 0 = no interrupt 1 = interrupt is asserted 8 auxadc_int auxadc primary interrupt 0 = no interrupt 1 = interrupt is asserted 7 ppm_int power path management primary interrupt
WM8325 production data w pd, february 2012, rev 4.0 122 address bit label description 0 = no interrupt 1 = interrupt is asserted 5 rtc_int real time clock and crystal oscillator primary interrupt 0 = no interrupt 1 = interrupt is asserted 4 otp_int otp memory primary interrupt 0 = no interrupt 1 = interrupt is asserted 1 hc_int high current primary interrupt 0 = no interrupt 1 = interrupt is asserted 0 uv_int undervoltage primary interrupt 0 = no interrupt 1 = interrupt is asserted r16408 (4018h) system interrupts mask 15 im_ps_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 14 im_temp_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 13 im_gp_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 12 im_on_pin_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 11 im_wdog_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 8 im_auxadc_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 7 im_ppm_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 5 im_rtc_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 4 im_otp_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_hc_int interrupt mask. 0 = do not mask interrupt.
production data WM8325 w pd, february 2012, rev 4.0 123 address bit label description 1 = mask interrupt. default value is 1 (masked) 0 im_uv_int interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 64 primary interrupt status and mask bits 23.2 secondary interrupts the following sections define the secondary interrupt status and control bits associated with each of the primary interrupt bits defined in table 64. 23.2.1 power state interrupt the primary ps_int interrupt comprises three secondary interrupts as described in section 11.4. the secondary interrupt bits are defined in table 65. each of the secondary interrupts can be masked. when a mask bit is set, the corresponding interrupt event is masked and does not trigger a ps_int interrupt. the secondary interrupt bits in r16402 (4012h) are valid regardless of whether the mask bit is set. the secondary interrupts are all masked by default. address bit label description r16402 (4012h) interrupt status 2 2 ps_por_eint power on reset interrupt (rising edge triggered) note: cleared when a ?1? is written. 1 ps_sleep_off_eint sleep or off interrupt (power state transition to sleep or off states) (rising edge triggered) note: cleared when a ?1? is written. 0 ps_on_wake_eint on or wake interrupt (power state transition to on state) (rising edge triggered) note: cleared when a ?1? is written. r16410 (401ah) interrupt status 2 mask 2 im_ps_por_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_ps_sleep_off_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 0 im_ps_on_wake_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 65 power state interrupts
WM8325 production data w pd, february 2012, rev 4.0 124 23.2.2 thermal interrupts the primary temp_int interrupt comprises a single secondary interrupt as described in section 26. the secondary interrupt bit is defined in table 66. the secondary interrupt can be masked. when the mask bit is set, the corresponding interrupt event is masked and does not trigger a temp_int interrupt. the secondary interrupt bit in r16401 (4011h) is valid regardless of whether the mask bit is set. the secondary interrupt is masked by default. address bit label description r16401 (4011h) interrupt status 1 1 temp_thw_cint thermal warning interrupt (rising and falling edge triggered) note: cleared when a ?1? is written. r16410 (4019h) interrupt status 1 mask 1 im_temp_thw_cint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 66 thermal interrupts 23.2.3 gpio interrupts the primary gp_int interrupt comprises sixteen secondary interrupts as described in section 21.4. the secondary interrupt bits are defined in table 67. each of the secondary interrupts can be masked. when a mask bit is set, the corresponding interrupt event is masked and does not trigger a gp_int interrupt. the secondary interrupt bits in r16405 (4015h) are valid regardless of whether the mask bit is set. the secondary interrupts are all masked by default. address bit label description r16405 (4015h) interrupt status 5 15:0 gp n _eint gpio interrupt. (trigger is controlled by gp n _int_mode) note: cleared when a ?1? is written. r16413 (401dh) interrupt status 5 mask 15:0 im_gp n _eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) note: n is a number between 1 and 12 that identifies the individual gpio. table 67 gpio interrupts 23.2.4 on pin interrupts the primary on_pin_int interrupt comprises a single secondary interrupt as described in section 11.6. the secondary interrupt bit is defined in table 68. the secondary interrupt can be masked. when the mask bit is set, the corresponding interrupt event is masked and does not trigger an on_pin_int interrupt. the secondary interrupt bit in r16401 (4011h) is valid regardless of whether the mask bit is set. the secondary interrupt is masked by default. address bit label description r16401 (4011h) interrupt status 1 12 on_pin_cint on pin interrupt. (rising and falling edge triggered) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 12 im_on_pin_cint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 68 on pin interrupt
production data WM8325 w pd, february 2012, rev 4.0 125 23.2.5 watchdog interrupts the primary wdog_int interrupt comprises a single secondary interrupt as described in section 25. the secondary interrupt bit is defined in table 69. the secondary interrupt can be masked. when the mask bit is set, the corresponding interrupt event is masked and does not trigger a wdog_int interrupt. the secondary interrupt bit in r16401 (4011h) is valid regardless of whether the mask bit is set. the secondary interrupt is masked by default. address bit label description r16401 (4011h) interrupt status 1 11 wdog_to_eint watchdog timeout interrupt. (rising edge triggered) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 11 im_wdog_to_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 69 watchdog timer interrupts 23.2.6 auxadc interrupts the primary auxadc_int interrupt comprises five secondary interrupts as described in section 18.5. the secondary interrupt bits are defined in table 70. each of the secondary interrupts can be masked. when a mask bit is set, the corresponding interrupt event is masked and does not trigger a auxadc_int interrupt. the secondary interrupt bits in r16401 (4011h) are valid regardless of whether the mask bit is set. the secondary interrupts are all masked by default. address bit label description r16401 (4011h) interrupt status 1 8 auxadc_data_eint auxadc data ready interrupt (rising edge triggered) note: cleared when a ?1? is written. 7:4 auxadc_dcomp n _eint auxadc digital comparator n interrupt (trigger is controlled by dcmp n _gt) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 8 im_auxadc_data_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 7:4 im_auxadc_dcomp n _ei nt interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) note: n is a number between 1 and 4 that identifies the individual comparator. table 70 auxadc interrupts
WM8325 production data w pd, february 2012, rev 4.0 126 23.2.7 power path management interrupts the primary ppm_int interrupt comprises a single secondary interrupt as described in section 17.2. the secondary interrupt bit is defined in table 71. the secondary interrupt can be masked. when the mask bit is set, the corresponding interrupt event is masked and does not trigger a ppm_int interrupt. the secondary interrupt bit in r16401 (4011h) are valid regardless of whether the mask bit is set. the secondary interrupt is masked by default. address bit label description r16401 (4011h) interrupt status 1 15 ppm_syslo_eint power path syslo interrupt (rising edge triggered) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 15 im_ppm_syslo_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 71 power path management interrupts 23.2.8 real time clock and crystal oscillator interrupts the primary rtc_int interrupt comprises four secondary interrupts as described in section 20.3. the secondary interrupt bits are defined in table 72. each of the secondary interrupts can be masked except for xtal_tamper_eint, which cannot be masked. when a mask bit is set, the corresponding interrupt event is masked and does not trigger a rtc_int interrupt. the secondary interrupt bits in r16401 (4011h) and r16404 (4014h) are valid regardless of whether the mask bit is set. the secondary interrupts are all masked by default, except for xtal_tamper_eint, which cannot be masked. address bit label description r16401 (4011h) interrupt status 1 3 rtc_per_eint rtc periodic interrupt (rising edge triggered) note: cleared when a ?1? is written. 2 rtc_alm_eint rtc alarm interrupt (rising edge triggered) note: cleared when a ?1? is written. r16404 (4014h) interrupt status 4 7 xtal_start_eint crystal oscillator start failure interrupt (rising edge triggered) note: cleared when a ?1? is written. 6 xtal_tamper_eint crystal oscillator tamper interrupt (rising and falling edge triggered) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 3 im_rtc_per_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 2 im_rtc_alm_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) r16412 (401ch) interrupt status 4 mask 7 im_xtal_start_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 72 real time clock (rtc) and crystal oscillator (xtal) interrupts
production data WM8325 w pd, february 2012, rev 4.0 127 23.2.9 otp memory interrupts the primary otp_int interrupt comprises two secondary interrupts as described in section 14.5. the secondary interrupt bits are defined in table 73. each of the secondary interrupts can be masked. when a mask bit is set, the corresponding interrupt event is masked and does not trigger a otp_int interrupt. the secondary interrupt bits in r16402 (4012h) are valid regardless of whether the mask bit is set. the secondary interrupts are all masked by default. address bit label description r16402 (4012h) interrupt status 2 5 otp_cmd_end_eint otp / ice command end interrupt (rising edge triggered) note: cleared when a ?1? is written. 4 otp_err_eint otp / ice command fail interrupt (rising edge triggered) note: cleared when a ?1? is written. r16410 (401ah) interrupt status 2 mask 5 im_otp_cmd_end_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 4 im_otp_err_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 73 otp memory interrupts 23.2.10 high current interrupts the primary hc_int interrupt comprises two secondary interrupts as described in section 15.12. the secondary interrupt bits are defined in table 74. each of the secondary interrupts can be masked. when a mask bit is set, the corresponding interrupt event is masked and does not trigger a hc_int interrupt. the secondary interrupt bits in r16404 (4014h) are valid regardless of whether the mask bit is set. the secondary interrupts are all masked by default. address bit label description r16404 (4014h) interrupt status 4 9 hc_dc2_eint dc-dc2 high current interrupt (rising edge triggered) note: cleared when a ?1? is written. 8 hc_dc1_eint dc-dc1 high current interrupt (rising edge triggered) note: cleared when a ?1? is written. r16412 (401ch) interrupt status 4 mask 9 im_hc_dc2_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 8 im_hc_dc1_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 74 overcurrent interrupts
WM8325 production data w pd, february 2012, rev 4.0 128 23.2.11 undervoltage interrupts the primary uv_int interrupt comprises fourteen secondary interrupts as described in section 15.12). the secondary interrupt bits are defined in table 75. each of the secondary interrupts can be masked. when a mask bit is set, the corresponding interrupt event is masked and does not trigger a uv_int interrupt. the secondary interrupt bits in r16403 (4013h) and r16404 (4014h) are valid regardless of whether the mask bit is set. the secondary interrupts are all masked by default. address bit label description r16403 (4013h) interrupt status 3 9:0 uv_ldo n _eint ldo n undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. r16404 (4014h) interrupt status 4 3:0 uv_dc m _eint dc-dc m undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. r16411 (401bh) interrupt status 3 mask 9:0 im_uv_ldo n _eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) r16412 (401ch) interrupt status 4 mask 3:0 im_uv_dc m _eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) notes: 1. n is a number between 1 and 10 that identifies the individual ldo regulator (ldo1-ldo10). 2. m is a number between 1 and 4 that identifies the individual dc-dc converter (dc1-dc4). table 75 undervoltage interrupts
production data WM8325 w pd, february 2012, rev 4.0 129 24 resets and supply voltage monitoring 24.1 resets the WM8325 provides hardware and software monitor ing functions as inputs to a reset management system. these functions enable the device to take appropriate action when power supplies are critically low or if a hardware or software fault condition is detected. there are different levels of resets, providing different response mechanisms according to the condition that caused the reset event. where applicable, the WM8325 will automatically return to the on state and resume normal operation as quickly as possible following a reset. a system reset occurs in the event of a power sequence failure, device overtemperature, pvdd undervoltage, software ?off? request or vpmic (ldo12) undervoltage condition. under these conditions, the WM8325 asserts the reset pin and transitions to the off state. in the case of vpmic undervoltage, the WM8325 enters the backup state. the contents of the register map are not reset under system reset conditions. a device reset occurs in the event of a watchdog timeout, hardware reset request or converter (ldo or dc-dc) undervoltage condition. under these conditions, the WM8325 asserts the reset pin and transitions to the off state. the contents of the register map are cleared to default values, except for the rtc and software scratch registers, which are maintained. the WM8325 will automatically return to the on state after performing the device reset. a software reset occurs when any value is wri tten to register 0000h, as described in section 12.5. in this event, the WM8325 asserts the reset pin and transitions to the off state. the register map contents may or may not be affected, depending on the value of the sw_reset_cfg field. see section 24.3 for further details of software reset configuration. the WM8325 will automatically return to the on state after performing the software reset. a power-on reset occurs when the supply voltage is less than the power-on reset threshold, as described in section 24.4. in this event, the WM8325 is forced into the no power state, as described in section 11.2. all the contents of the register map are lost in the no power state.
WM8325 production data w pd, february 2012, rev 4.0 130 a summary of the WM8325 resets is contained in table 76 . reset type reset condition description response automatic recovery system reset power sequence failure dc converters, ldos or clkout circuits have failed to start up within the permitted time. see section 11.3. assert reset pin. select off state. if the reset condition is vpmic (ldo12) undervoltage, then the WM8325 enters the backup state. no device overtemperature an overtemperature condition has been detected. see section 26. no pvdd undervoltage (1) pvdd is less than the user- selectable threshold syslo_thr and syslo_err_act is configured to select off in this condition. see section 24.4. no pvdd undervoltage (2) pvdd is less than the shutdown voltage. see section 24.4. no software off request off has been commanded by writing chip_on = 0. see section 11.3 no vpmic (ldo12) undervoltage the WM8325 supply voltage is less than the system reset threshold. see section 24.4. no device reset watchdog timeout watchdog timer has expired and the selected response is to generate a device reset. see section 25. assert reset pin. shutdown and restart the WM8325. reset register map (note the rtc and software scratch registers are not reset.) yes hardware reset the reset pin has been pulled low by an external source. see section 24.2. yes converter (ldo or dc- dc) undervoltage an undervoltage condition has been detected and the selected response is ?shut down system (device reset)? see section 15. yes software reset software reset software reset has been commanded by writing to register 0000h. see section 12.5. assert reset pin. shutdown and restart the WM8325. see section 24.3 for configurable options regarding the register map contents. yes power on reset power on reset the WM8325 supply voltage is less than the power-on reset (por) threshold. see section 24.4. the WM8325 is in the no power state. all register contents are lost. no table 76 resets summary in the cases where automatic recovery is supported (as noted in table 76 ), the WM8325 will re-start the WM8325 following the reset, and return the device to the on state. the particular reset condition which caused the return to the on state will be indicated in the ?on source? register - see section 11.3. note that, if a watchdog timeout or converter undervoltage fault persists, a maximum of 6 device resets will be attempted to initiate the start-up sequen ce. similarly, a maximum of 6 software resets is permitted. if these limits are exceeded, the WM8325 will remain in the off state until the next valid on state transition event occurs. the WM8325 asserts the reset low as soon as the device begins the shutdown sequence. reset is held low for the duration of the shutdown sequence and is held low in the off state. in the cases where automatic recovery is supported, reset is automatically cleared (high) after successful completion of the startup sequence. the duration of the reset low period after the startup sequence has completed is governed by the rst_dur register field described in section 11.7.
production data WM8325 w pd, february 2012, rev 4.0 131 24.2 hardware reset a hardware reset is triggered when an external source pulls the reset pin low. under this condition, the WM8325 transitions to the off state. the contents of the register map are cleared to default values, except for the rtc and software scratch registers, which are maintained. the WM8325 will then automatically schedule an on state transition to resume normal operation. if the external source continues to pull the reset pin low, then the WM8325 cannot fully complete the on state transition following the hardware reset. in this case, the WM8325 will mask the external reset for up to 32 seconds. if the reset pin is released (i e. it returns to logic ?1?) during this time, then the on state transition is completed and the hardware reset input is valid again from this point. if the reset pin is not released, then the WM8325 will force an off condition on expiry of the 32 seconds timeout. recovery from this forced off condition cannot occur until the external reset condition is de-asserted, followed by a valid on event. if an on event occurs before the external reset is de-asserted, then start-up will be attempted, but the transition will be unsuccessful, causing a return to the off state. it is possible to mask the reset pin input in the sleep state by setting the rst_slp_msk register bit as described in section 11.7. 24.3 software reset a software reset is triggered by writing to register 0000h, as described in section 12.5. in this event, the WM8325 asserts the reset pin and transitions to the off s tate. if the reset occurred in the on state, then the WM8325 will automatically return to the on state following the reset. the swrst_dly register field determines whether a time delay is applied between the software reset command and the resultant shutdown and start-up sequences. when the swrst_dly bit is set, the programmable time delay pwrstate_dly is applied before commencing the shutdown sequence. the timing of the software reset is illustrated in figure 25. see section 11.3 for a definition of the pwrstate_dly register. the sw_reset_cfg register field determines if the register map is reset under a software reset condition. note that the sw_reset_cfg control register is lock ed by the WM8325 user key. this register can only be changed by writing the appropriate code to the security register, as described in section 12.4. address bit label default description r16387 (4003h) power state 9 swrst_dly 0 software reset delay 0 = no delay 1 = software reset is delayed by pwrstate_dly following the software reset command r16390 (4006h) reset control 10 sw_reset_c fg 1 software reset configuration. selects whether the register map is reset to default values when software reset occurs. 0 = all registers except rtc and software scratch registers are reset by software reset 1 = register map is not affected by software reset protected by user key table 77 software reset configuration
WM8325 production data w pd, february 2012, rev 4.0 132 the timing details of the software reset are illustrated in figure 25. sw reset command on transition completes reset is de-asserted power state time reset pin on transition starts on on software reset (shutdown / start-up) time delay set by swrst_dly and pwrstate_delay 0ms, 1ms or 10ms off transition then on transition nominal duration = 10 x 2ms reset delay set by rst_dur 3ms, 11ms, 51ms or 101ms figure 25 software reset timing
production data WM8325 w pd, february 2012, rev 4.0 133 24.4 supply voltage monitoring the WM8325 includes a number of mechanisms to prevent the system from starting up, or to force it to shut down, when the power sources are critically low. the internal regulator ldo12 is powered from an internal domain equivalent to pvdd and generates an internal supply (vpmic) to support various ?always-on? functions. in the absence of the pvdd supply, ldo12 can be powered from a backup battery. (note that pvdd is not maintained by the backup battery.) the vpmic monitoring function control s the power-on reset circuit, which sets the threshold below which the WM8325 cannot operate. the operation of the vpmic monitoring circuit is illustrated in figure 26. the internal signal porrst is governed by the v por thresholds. these determine when the WM8325 is kept in the no power state. the internal signal pmicrst is governed by the v res thresholds. these determine when the WM8325 is kept in the backup state. the vpmic monitoring thresholds illustrated in figure 26 are fixed. the voltage levels are defined in the electrical characteristics - see section 7.3. backup no power backup no power figure 26 vpmic monitoring the operation of the pvdd monitoring circuit is illustrated in figure 27. the v shutdown threshold is the voltage below which the WM8325 forces an off transition. this threshold voltage is fixed and is defined in the electrical characteristics - see section 7.3. the v sysok threshold is the level at which the internal signal sysok is asserted. any on request will be inhibited if sysok is not set. the v sysok threshold can be set using the sysok_thr register field in accordance with the minimum voltage requirements of the application. note that a hysteresis margin is added to the sysok_thr setting; see section 7.3 for details. the v syslo threshold is the level at which the internal signal syslo is asserted. this indicates a pvdd undervoltage condition, at which a selectable response can be initiated. the v syslo threshold can be set using the syslo_thr register field. the action taken under this undervoltage condition is selected using the syslo_err_act register field, as defined in table 78. an interrupt event is associated with the syslo condition - see section 17.2. the syslo status can be read from the syslo_sts register bit. this bit is asserted when pvdd is below the syslo threshold. the WM8325 can also indicate the status of the sysok signal via a gpio pin configured as a ?pvdd good? output (see section 21). a gpio pin configured as ?pvdd good? output will be asserted when the pvdd is above the sysok threshold.
WM8325 production data w pd, february 2012, rev 4.0 134 v sysok v pvdd time v syslo v shutdown sysok (syslo) shutdown time time figure 27 pvdd monitoring address bit label default description r16385 (4001h) pvdd control 15:14 syslo_err_ act 00 syslo error action selects the action taken when syslo is asserted 00 = interrupt 01 = wake transition 10 = reserved 11 = off transition 11 syslo_sts 0 syslo status 0 = normal 1 = pvdd is below syslo threshold 6:4 syslo_thr [2:0] 010 syslo threshold (falling pvdd) this is the falling pvdd voltage at which syslo will be asserted 000 = 2.8v 001 = 2.9v ? 111 = 3.5v 2:0 sysok_thr [2:0] 101 sysok threshold (rising pvdd) this is the rising pvdd voltage at which sysok will be asserted 000 = 2.8v 001 = 2.9v ? 111 = 3.5v note that the sysok hysteresis margin is added to these threshold levels. table 78 pvdd monitoring control
production data WM8325 w pd, february 2012, rev 4.0 135 25 watchdog timer the WM8325 includes a watchdog timer designed to detect a possible software fault condition where the host processor has locked up. the watchdog timer is a free-running counter driven by the internal rc oscillator. the watchdog timer is enabled by default; it can be enabled or disabled by writing to the wdog_ena register bit. the watchdog behaviour in sleep is configurable; it can either be set to continue as normal or to be disabled. the watchdog behaviour in sleep is determined by the wdog_slpena bit. the watchdog timer duration is set using wdog_to. the watchdog timer can be halted for debug purposes using the wdog_debug bit. the watchdog reset source is selectable between software and hardware triggers. (note that the de- selected reset source has no effect.) if the watchdog is not reset within a programmable timeout period, this is interpreted by the WM8325 as a fault condition. the watchdog timer then either triggers a device reset, or issues a wake request or raises an interrupt. this primary action is determined by the wdog_primact register field. if the watchdog is not reset within a further timeout period of the watchdog counter, a secondary action is triggered. the secondary action taken at this point is determined by the wdog_secact register field. the watchdog reset source is selected using the wdog_rst_src register bit. when software wdog reset source is selected, the watchdog is reset by writing a ?1? to the wdog_reset field. when hardware wdog reset source is selected, the watchdog is reset by toggling a gpio pin that has been configured as a watchdog reset input (see section 21). if a device reset is triggered by the watchdog timeout, the WM8325 asserts the reset pin, resets the internal control registers (excluding the rt c) and initiates a start-up sequence. note that, following a device reset, the action taken on subsequent timeout of the watchdog timer will be determined by the wdog_primact register. if the watchdog timeout fault persists, then a maximum of 6 device reset attempts will be made. see section 24. if the watchdog timeout occurs more than 6 times, the WM8325 will remain in the off state until the next valid on state transition event occurs. note that the watchdog control registers are locked by the WM8325 user key. these registers can only be changed by writing the appropriate code to the security register, as described in section 12.4. address bit label default description r16388 (4004h) watchdog 15 wdog_ena 1 watchdog timer enable 0 = disabled 1 = enabled (enables the watchdog; does not reset it) protected by user key 14 wdog_debu g 0 watchdog pause 0 = disabled 1 = enabled (halts the watchdog timer for system debugging) protected by user key 13 wdog_rst_s rc 1 watchdog reset source 0 = hardware only 1 = software only protected by user key 12 wdog_slpe na 0 watchdog sleep enable 0 = disabled 1 = controlled by wdog_ena protected by user key 11 wdog_rese t 0 watchdog software reset 0 = normal 1 = watchdog reset (resets the watchdog, if wdog_rst_src = 1) protected by user key
WM8325 production data w pd, february 2012, rev 4.0 136 address bit label default description 9:8 wdog_seca ct 10 secondary action of watchdog timeout (taken after 2 timeout periods) 00 = no action 01 = interrupt 10 = device reset 11 = wake transition protected by user key 5:4 wdog_prima ct 01 primary action of watchdog timeout 00 = no action 01 = interrupt 10 = device reset 11 = wake transition protected by user key 2:0 wdog_to [2:0] 111 watchdog timeout period 000 = 0.256s 001 = 0.512s 010 = 1.024s 011 = 2.048s 100 = 4.096s 101 = 8.192s 110 = 16.384s 111 = 32.768s protected by user key table 79 controlling the watchdog timer the watchdog timeout interrupt event is indicated by the wdog_to_eint register field. this secondary interrupt triggers a primary watchdog interrupt, wdog_int (see section 23). this can be masked by setting the mask bit as described in table 80. address bit label description r16401 (4011h) interrupt status 1 11 wdog_to_eint watchdog timeout interrupt. (rising edge triggered) note: cleared when a ?1? is written. r16409 (4019h) interrupt status 1 mask 11 im_wdog_to_eint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 80 watchdog timer interrupts
production data WM8325 w pd, february 2012, rev 4.0 137 26 temperature sensing the WM8325 provides temperature monitoring as status information and also for self-protection of the device. temperature monitoring is always enabled in the on and sleep states. the thermal warning temperature can be set using the thw_temp register field. the thermal warning hysteresis ensures that the thw_temp is not reset until the device temperature has dropped below the threshold by a suitable margin. the extent of the hysteresis can be selected using the thw_hyst register field. the thermal warning condition can be read using the thw_sts register bit. an overtemperature condition causes the thermal warning interrupt (temp_thw_cint) to be set. the thermal warning interrupt is also set when the overtemperature condition clears, ie. when the device has returned to its normal operating limits. the thermal shutdown temperature is set at a fixed level. if a thermal shutdown condition is detected whilst in the on or sleep states, then a system reset is triggered, as described in section 24.1, forcing a transition to the off state. the temperature sensing circuit is configured and m onitored using the register fields described in table 81. address bit label default description r16386 (4002h) 3 thw_hyst 1 thermal warning hysteresis 0 = 8 degrees c 1 = 16 degrees c 1:0 thw_temp [1:0] 10 thermal warning temperature 00 = 90 degrees c 01 = 100 degrees c 10 = 110 degrees c 11 = 120 degrees c r16397 (400dh) 15 thw_sts 0 thermal warning status 0 = normal 1 = overtemperature warning (warning temperature is set by thw_temp) table 81 temperature sensing control the thermal warning interrupt event is indicated by the temp_thw_cint register field. this secondary interrupt triggers a primary thermal interrupt, temp_int (see section 23). this can be masked by setting the mask bit as described in table 82. address bit label description r16401 (4011h) interrupt status 1 1 temp_thw_cint thermal warning interrupt (rising and falling edge triggered) note: cleared when a ?1? is written. r16410 (4019h) interrupt status 1 mask 1 im_temp_thw_cint interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) table 82 thermal interrupts
WM8325 production data w pd, february 2012, rev 4.0 138 27 voltage and current references 27.1 voltage reference (vref) the main voltage reference generated by the WM8325 is bonded to the vrefc pin. the accuracy of this reference is optimised by factory-set trim registers. the voltage reference (vref) requires an external decoupling capacitor; a 100nf x5r capacitor is recommended, as noted in section 30.2. omitting this capacitor will result in increased noise on the voltage reference; this will particularly affect the analogue ldos. the voltage reference circuit includes a low-power mode, which enables power consumption to be minimised where appropriate. the low-power reference mode may lead to increased noise on the voltage reference; this mode should only be selected when minimum power consumption is more important than voltage stability. note that the low power reference mode is not supported when the auxiliary adc function is enabled. the low power reference mode is enabled when ref_lp register is set. the low power reference mode should only be enabled when the auxiliary adc is disabled. enabling the low power reference mode will lead to a malfunction of the auxiliary adc function. address bit label default description r16387 (4003h) 12 ref_lp 0 low power voltage reference control 0 = normal 1 = low power reference mode select note that low power reference mode is only supported when the auxiliary adc is disabled. table 83 low power voltage reference control 27.2 current reference (iref) the power management circuits of the WM8325 use an integrated current reference. this current reference (iref) requires the connection of an external resistor to the irefr pin; a 100k ? (1%) resistor is recommended, as noted in section 30.2. the WM8325 will malfunction if this resistor is omitted.
production data WM8325 w pd, february 2012, rev 4.0 139 28 register map overview dec addr hex addr name 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bin default 00000 reset id 0000_0000_0000_0000 10001 revision 0000_0000_0000_0000 20002 reserved 0 0000 0 00000 0 000 0 0000_0000_0000_0000 30003 reserved 000 0 000 0 000 0 000 0 0000_0000_0000_0000 40004 reserved 000 0 000 0 000 0 000 0 0000_0000_0000_0000 50005 reserved 000 0 000 0 000 0 000 0 0000_0000_0000_0000 60006 reserved 0 0000 0 0000000000 0000_0000_0000_0000 70007 reserved 0 0000 0 0000000000 0000_0000_0000_0000 16384 4000 parent id 0110_0010_0100_0110 16385 4001 pvdd control 0 0 syslo_sts 0000 0 0000_0000_0010_0101 16386 4002 thermal monitoring 000 0 0 0 000000 thw_hyst 0 0000_0000_0000_1010 16387 4003 power state chip_on chip_slp 0 ref_lp swrst_dl y 0 0 000 0 00 0 uu00_1000_0000_0000 16388 4004 watchdog wdog_ena wdog_deb ug wdog_rst _src wdog_slp ena wdog_res et 00 00 1010_p010_0001_0111 16389 4005 on pin control 000 0 0 0 00 o n_pin_st s 0 0000_0001_0000_0000 16390 4006 reset control reconfig_ at_on 00 0 0 sw_reset_c fg 00 0 auxrst_sl pena rst_slp_m sk rst_slpen a 0 0 1000_0100_0111_0011 16391 4007 control interface 000 0 0 0 0000000 autoinc 0 0 0000_0000_0000_0100 16392 4008 security key 0000_0000_0000_0000 16393 4009 software scratch 0000_0000_0000_0000 16394 400a otp control otp_prog 0 otp_mem 0 otp_final otp_verify otp_write otp_read otp_bulk 000 u010_0000_0000_0000 16395 400b security key 2 0 0000 0 0000000000 0000_0000_0000_0000 16396 400c gpio level 0000 gp12_lvl gp11_lvl gp10_lvl gp9_lvl gp8_lvl gp7_lvl gp6_lvl gp5_lvl gp4_lvl gp3_lvl gp2_lvl gp1_lvl 0000_0000_0000_0000 16397 400d system status thw_sts 0000 0 0 0 xtal_ok 0 0 0000_0000_0000_0000 16398 400e on source on_trans 000 on_gpio on_syslo 00 on_wdog_ to on_sw_re q on_rtc_al m on_on_pin reset_cnv _uv reset_sw reset_hw reset_wd og 0000_0000_0000_0000 16399 400f off source 00 off_intld o_err off_pwr_ seq off_gpio off_pvdd off_ther r 00 off_sw_r eq 0 off_on_pi n 0000 0000_0000_0000_0000 16400 4010 system interrupts p s_int temp_int gp_int on_pin_int wdog_int 0 0 auxadc_in t ppm_int 0 rtc_int otp_int 00 hc_int uv_int pppp_p00p_p0pp_p0pp 16401 4011 interrupt status 1 ppm_syslo _eint 00 on_pin_ci nt wdog_to_ eint 0 0 auxadc_d ata_eint auxad c _d comp4_ein t auxad c _d comp3_ein t auxad c _d comp2_ein t auxad c _d comp1_ein t rtc_per_e int rtc_alm_ eint temp_thw _cint 0 p00p_p00p_pppp_ppp0 16402 4012 interrupt status 2 0000 00 0000 otp_cmd_ end_eint otp_err_e int 0 ps_por_ei nt ps_sleep_ off_eint ps_on_wa ke_eint 0000_0000_00pp_0ppp 16403 4013 interrupt status 3 0 0000 0 uv_ldo10_ eint uv_ldo9_e int uv_ldo8_e int uv_ldo7_e int uv_ldo6_e int uv_ldo5_e int uv_ldo4_ei nt uv_ldo3_ eint uv_ldo2_e int uv_ldo1_e int 0000_00pp_pppp_pppp 16404 4014 interrupt status 4 0 0000 0 hc_dc2_ei nt hc_dc1_ei nt xtal_strt _eint xtal_tamp er_eint 00 uv_dc4_ei nt uv_dc3_ei nt uv_dc2_ei nt uv_dc1_ei nt 0000_00pp_pp00_pppp 16405 4015 interrupt status 5 0000 gp12_eint gp11_eint gp10_eint gp9_eint gp8_eint gp7_eint gp6_ein t gp5_eint gp4_eint gp3_eint gp 2_eint gp1_eint 0000_pppp_pppp_pppp 16406 4016 reserved 0000 00 000000000 0 0000_0000_0000_0000 16407 4017 irq config 0000 00 00000000 irq_od im_irq 0000_0000_0000_0010 child_rev[7:0] parent_rev[7:0] pwrstate_dly[1:0] parent_id[15:0] thw_temp[1:0] syslo_err_act[1:0] sysok_thr[2:0] syslo_thr[2:0] rst_dur[1:0] wdog_to[2:0] otp_page[1:0] sw_scratch[15:0] otp_read_lvl[1:0] wdog_primact[1:0] on_pin_secact[1:0] w dog_secact[1:0] on_pin_primact[1:0] on_pin_to[1:0] security[15:0] main_state[4:0] chip_id[15:0]
WM8325 production data w pd, february 2012, rev 4.0 140 dec addr hex addr nam e 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bin de fault 16408 4018 system interrupts mask im_ps_int im_temp_in t im_gp_int im_on_pin_ int im_wdog_i nt 00 im_a uxa d c_int im_ ppm_int 0 im_rtc_int im_otp_int 1 0 im_hc_int im_uv_int 1111_1001_1011_1011 16409 4019 interrupt status 1 mask im_ppm_sy slo_eint 00 im_on_pin_ cint im_wdog_ to_eint 00 im_a uxa d c_da ta _ei nt im_a uxa d c_dcomp4 eint im_a uxa d c_dcomp3 eint im_a uxa d c_dcomp2 eint im_a uxa d c_dcomp1 eint im_rtc_pe r_eint im_rtc_al m_eint im_temp_t hw_cint 0 1001_1001_1111_1110 16410 401a interrupt status 2 mask 00000 0 0000 im_otp_cm d_end_ein t im_otp_er r_eint 0 im_ps_por _eint im_ps_sle ep_off_ein t im_ps_on_ wake_eint 0000_0000_0011_0111 16411 401b interrupt status 3 mask 00000 0 im_uv _ldo 10_eint im_uv_ldo 9_eint im_uv_ldo 8_eint im_uv_ldo 7_eint im_uv _ldo 6_eint im_uv _ldo 5_eint im_uv _ldo 4_eint im_uv_ld o3_eint im_uv_ldo 2_eint im_uv _ldo 1_eint 0000_0011_1111_1111 16412 401c interrupt status 4 mask 00000 0 im_hc_dc2 _eint im_hc_dc1 _eint im_xtal_s ta rt_eint 000 im_uv _dc4 _eint im_uv _dc 3_eint im_uv _dc2 _eint im_uv _dc1 _eint 0000_0011_1000_1111 16413 401d interrupt status 5 mask 0000 im_gp12_ei nt im_gp11_ein t im_gp10_ei nt im_gp9_ein t im_gp8_ein t im_gp7_ein t im_gp6_ein t im_gp5_ein t im_gp4_ein t im_gp3_ei nt im_gp2_ein t im_gp1_ein t 0000_1111_1111_1111 16414 401e res er v ed 00000 0 0000000000 0000_0000_0000_0000 16415 401f res er v ed 00000 0 0000000000 0000_0000_0000_0000 16416 4020 rtc write counter 0000_0000_0000_0000 16417 4021 rtc time 1 0000_0000_0000_0000 16418 4022 rtc time 2 0000_0000_0000_0000 16419 4023 rtc a lar m 1 0000_0000_0000_0000 16420 4024 rtc a lar m 2 0000_0000_0000_0000 16421 4025 rtc contr ol rtc_v a lid rtc_sy nc _busy 000 rt c_a lm_en a 000 0 0 0 0 0000_0000_0000_0000 16422 4026 rtc tr im 00000 0 0000_0000_0000_0000 16423 4027 res er v ed 00000 0 0 0 0 0 0 0 0 0 0 0 0000_0000_0000_0000 16424 4028 res er v ed 00000 0 0000000000 0000_0000_0000_0000 16425 4029 res er v ed 00000 0 0000000000 0000_0000_0000_0000 16426 402a res er v ed 00000 0 0000000000 0000_0000_0000_0000 16427 402b res er v ed 00000 0 0000000000 0000_0000_0000_0000 16428 402c res er v ed 00000 0 0000000000 0000_0000_0000_0000 16429 402d auxadc data 0000_0000_0000_0000 16430 402e a ux a dc contr ol aux_ena aux_cvt_ ena 0 aux_slpe na 0000 0 0 0u00_0000_0000_0000 16431 402f auxadc source 0000 0 0 000 aux_pvdd _sel 0 aux_chip_ temp_sel 0 aux_gpio 12_sel aux_gpio1 1_sel aux_gpio1 0_sel 0000_0000_0000_0000 16432 4030 comparator control 000 0 dcomp4_s ts dcomp3_sts dcomp2_s ts dcomp1_s ts 000 0 dcmp4_en a dcmp3_en a dcmp2_en a dcmp1_en a 0000_0000_0000_0000 16433 4031 comparator 1 dcmp1_gt 0000_0000_0000_0000 16434 4032 comparator 2 dcmp2_gt 0000_0000_0000_0000 16435 4033 comparator 3 dcmp3_gt 000 0_0000_0000_0000 16436 4034 comparator 4 dcmp4_gt 0000_0000_0000_0000 16437 4035 res er v ed 000 0 000 0 000 0 000 0 0000_0000_0000_0000 16438 4036 res er v ed 00000 0 0000000000 0000_0000_0000_0000 16439 4037 res er v ed 000 0 000 0 000 0 000 0 0000_0000_0000_0000 rtc_time[15:0] rtc_trim[9:0] rtc_a lm[15:0] rtc_wr_cnt[15:0] rtc_time[31:16] rtc_pint_freq[2:0] rtc_a lm[31:16] dcmp1_thr[11:0] dcmp3_thr[11:0] dcmp1_src[2:0] dcmp2_src[2:0] a ux_da ta _src[3:0] dcmp2_thr[11:0] aux_data[11:0] aux_rate[5:0] dcmp4_src[2:0] dcmp3_src[2:0] dcmp4_thr[11:0]
production data WM8325 w pd, february 2012, rev 4.0 141 de c ad d r he x ad d r nam e 1514131211109876543210 bin default 16440 4038 gpio1 control gp1_dir gp1_int_m ode gp1_pwr_ dom gp1 _pol gp1 _od 0 gp1_ena 000 1010_0100_0000_0000 16441 4039 gpio2 control gp2_dir gp2_int_m ode gp2_pwr_ dom gp2 _pol gp2 _od 0 gp2_ena 000 1010_0100_0000_0000 16442 403a gpio3 control gp3_dir gp3_int_m ode gp3_pwr_ dom gp3 _pol gp3 _od 0 gp3_ena 000 1010_0100_0000_0000 16443 403b gpio4 control gp4_dir gp4_int_m ode gp4_pwr_ dom gp4 _pol gp4 _od 0 gp4_ena 000 1010_0100_0000_0000 16444 403c gpio5 control gp5_dir gp5_int_m ode gp5_pwr_ dom gp5 _pol gp5 _od 0 gp5_ena 000 1010_0100_0000_0000 16445 403d gpio6 control gp6_dir gp6_int_m ode gp6_pwr_ dom gp6 _pol gp6 _od 0 gp6_ena 000 1010_0100_0000_0000 16446 403e gpio7 control gp7_dir gp7_int_m ode gp7_pwr_ dom gp7 _pol gp7 _od 0 gp7_ena 000 1010_0100_0000_0000 16447 403f gpio8 control gp8_dir gp8_int_m ode gp8_pwr_ dom gp8 _pol gp8 _od 0 gp8_ena 000 1010_0100_0000_0000 16448 4040 gpio9 control gp9_dir g p9_int_m ode gp9_pwr_ dom gp9 _pol gp9 _od 0 gp9_ena 000 1010_0100_0000_0000 16449 4041 gpio10 control gp10_dir gp10_int_ mode gp10_pwr _dom gp10_pol gp10_od 0 gp10_ena 000 1010_0100_0000_0000 16450 4042 gpio11 control gp11_dir gp11_int_ mode gp11_pwr _dom gp11_pol gp11_od 0 gp11_ena 000 1010_0100_0000_0000 16451 4043 gpio12 control gp12_dir gp12_int_ mode gp12_pwr _dom gp12_pol gp12_od 0 gp12_ena 000 1010_0100_0000_0000 16452 4044 res er v ed 000 0 000 0 000 0 000 0 0000_0000_0000_0000 16453 4045 res er v ed 000 0 000 0 000 0 000 0 0000_0000_0000_0000 16454 4046 res er v ed 000 0 000 0 000 0 000 0 0000_0000_0000_0000 16455 4047 res er v ed 000 0 000 0 000 0 000 0 0000_0000_0000_0000 16456 4048 res er v ed 00000 0 0000000000 0000_0000_0000_0001 16457 4049 res er v ed 00000 0 0000000000 0000_0110_0000_0010 16458 404a res er v ed 00000 0 0000000000 0000_0000_0000_0000 16459 404b res er v ed 00000 0 0000000000 0000_0000_0000_0000 16 460 404c status led 1 000 0 00 1100_0000_0010_0110 16461 404d status led 2 000 0 00 1100_0000_0010_0110 16462 404e res er v ed 00000 0 0000000000 0000_0000_0000_0000 16463 404f res er v ed 00000 0 0000000000 0000_0000_0000_0000 16464 4050 dcdc enable 00000 0 0 0 epe2_ ena epe1_ ena 0 0 dc4_ena dc3_ena dc2_ena dc1_ena 0000_0000_uu00_uuuu 16465 4051 ldo enable 00000 ldo11_ena ldo10_en a ldo9_ena ldo8_ena ldo7_ena ldo6_ena ldo5_ena ldo4_ena ldo3_ena ldo2_ena ldo1_ena 0000_0uuu_uuuu_uuuu 16466 4052 dcdc status 00000 0 0 0 epe2_ sts epe1_ sts 0 0 dc4_sts dc3_sts dc2_sts dc1_sts 0000_0000_0000_0000 16467 4053 ldo status 00000 ldo11_sts ldo10_sts ldo9_sts ldo8_sts ldo7_sts ldo6_sts ldo5_sts ldo4_sts ldo3_sts ldo2_sts ldo1_sts 0000_0000_0000_0000 16468 4054 dcdc uv status 00 dc2_ov_s ts dc1_ov_s ts 00 dc2_hc_st s dc1_hc_st s 000 0 dc4_uv _st s dc3_uv_s ts dc2_uv _s ts dc1_uv _s ts 0000_0000_0000_0000 16469 4055 ldo uv status intldo_uv _sts 0000 0 ldo10_uv _sts ldo9_uv_ sts ldo8_uv_ sts ldo7_uv_ sts ldo6_uv_ sts ldo5_uv_ sts ldo4_uv_ sts ldo3_uv_ sts ldo2_uv_ sts ldo1_uv_ sts 0000_0000_0000_0000 16470 4056 dc1 contr ol 1 0 dc1_phas e 00 d c 1 _ f l t 0 0 0 1000_0000_0000_0000 16471 4057 dc1 contr ol 2 0 dc1_hwc_v sel 0 0 0 d c1_fast_ drv dc1_hc_in d_ena 0000_0011_0000_0000 dc1_soft_start[1:0] led2_duty _cy c[1:0] dc1_hc_thr[2:0] led2_seq_len[1:0] led1_duty _cy c[1:0] led2_dur[1:0] dc1_cap[1:0] led1_seq_len[1:0] led1_dur[1:0] dc1_hwc_src[1:0] dc1_rate[1:0] dc1_err_a ct[1:0] gp12_fn[3:0] gp11_fn[3:0] gp5_fn[3:0] gp10_fn[3:0] gp9_fn[3:0] gp8_fn[3:0] gp6_pull[1:0] gp12_pull[1:0] gp7_pull[1:0] gp8_pull[1:0] gp2_pull[1:0] gp7_fn[3:0] gp4_fn[3:0] gp6_fn[3:0] gp2_fn[3:0] gp3_fn[3:0] gp1_fn[3:0] gp1_pull[1:0] gp5_pull[1:0] gp9_pull[1:0] gp11_pull[1:0] gp3_pull[1:0] gp4_pull[1:0] dc1_freq[1:0] dc1_hwc_mode[1:0] gp10_pull[1:0] led2_src[1:0] led1_mode[1:0] led2_mode[1:0] led1_src[1:0]
WM8325 production data w pd, february 2012, rev 4.0 142 dec addr hex addr name 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bin default 16472 4058 dc1 on config 0 00 0 0000_0001_0000_0000 16473 4059 dc1 sleep control 0 0 0 0 0000_0011_0000_0000 16474 405a dc1 dvs control 000 0 0 00 0000_0000_0000_0000 16475 405b dc2 control 1 0 dc2_phase 0 0 dc2_flt 0 0 0 1001_0000_0000_0000 16476 405c dc2 control 2 0 dc2_hwc_vs el 0 0 0 dc2_fast_ drv dc2_hc_in d_ena 0000_0011_0000_0000 16477 405d dc2 on config 0 00 0 0000_0001_0000_0000 16478 405e dc2 sleep control 0 0 0 0 0000_0011_0000_0000 16479 405f dc2 dvs control 000 0 0 00 0000_0000_0000_0000 16480 4060 dc3 control 1 00 0 dc3_phase 000 0 dc3_flt 0 0000_0000_0001_0100 16481 4061 dc3 control 2 0 dc3_hwc_vs el dc3_ovp 0 0 0 0 00 0 0000_0011_0000_0000 16482 4062 dc3 on config 0 00 0 0000_0001_0000_0000 16483 4063 dc3 sleep control 0 00 0 0000_0011_0000_0000 16484 4064 dc4 control 1 00 dc4_slv dc4_phase 000 0 dc4_flt 0 0000_0000_0001_0100 16485 4065 dc4 control 2 0 dc4_hwc_vs el dc4 _ovp 0 0 0 0 00 0 0000_0011_0000_0000 16486 4066 dc4 on config 0 00 0 0000_0001_0000_0000 16487 4067 dc4 sleep control 0 00 0 0000_0011_0000_0000 16488 4068 ldo1 control 0 ldo1_hwc_v sel ldo1_flt ldo1_swi 0 0 000 ldo1_lp_m ode 0000_0010_0000_0000 16489 4069 ldo1 on control 0 000 ldo1_on_ mode 0 00 0000_0000_0000_0000 16490 406a ldo1 sleep control 0 000 ldo1_slp_ mode 000 0000_0001_0000_0000 16491 406b ldo2 control 0 ldo2_hwc_v sel ldo2_flt ldo2_swi 0 0 000 ldo2_lp_m ode 0000_0010_0000_0000 16492 406c ldo2 on control 0 000 ldo2_on_ mode 000 0000_0000_0000_0000 16493 406d ldo2 sleep control 0 000 ldo2_slp_ mode 000 0000_0001_0000_0000 16494 406e ldo3 control 0 ldo3_hwc_v sel ldo3_flt ldo3_swi 0 0 000 ldo3_lp_m ode 0000_0010_0000_0000 16495 406f ldo3 on control 0 000 ldo3_on_ mode 000 0000_0000_0000_0000 16496 4070 ldo3 sleep control 0 000 ldo3_slp_ mo de 000 0000_0001_0000_0000 16497 4071 ldo4 control 0 ldo4_hwc_v sel ldo4_flt ldo4_swi 0 0 000 ldo4_lp_m ode 0000_0010_0000_0000 16498 4072 ldo4 on control 0 000 ldo4_on_ mode 000 0000_0000_0000_0000 16499 4073 ldo4 sleep control 0 000 ldo4_slp_ mode 000 0000_0001_0000_0000 16500 4074 ldo5 control 0 ldo5_hwc_v sel ldo5_flt ldo5_swi 0 0 000 ldo5_lp_m ode 0000_0010_0000_0000 16501 4075 ldo5 on control 0 000 ldo5_on_ mode 000 0000_0000_0000_0000 16502 4076 ldo5 sleep control 0 000 ldo5_slp_ mode 000 0000_0001_0000_0000 16503 4077 ldo6 control 0 ldo6_hwc_v sel ldo6_flt ldo6_swi 0 0 000 ldo6_lp_m ode 0000_0010_0000_0000 dc4_cap[1:0] dc4_on_vsel[6:2] ldo1_slp_vsel[4:0] ldo1_on_vsel[4:0] ldo2_on_vsel[4:0] ldo5_slp_vsel[4:0] dc4_slp_mode[1:0] dc4_stnby_lim[1:0] dc1_slp_mode[1:0] dc4_on_vsel[1:0] dc1_slp_vsel[6:0] dc4_slp_vsel[6:0] dc3_on_mode[1:0] dc4_hwc_mode[1:0] dc3_stnby_lim[1:0] dc3_soft_start[1:0] ldo3_err_act[1:0] ldo2_on_slot[2:0] dc3_hwc_src[1:0] dc3_err_act[1:0] dc4_err_act[1:0] ldo1_slp_slot[2:0] ldo1_on_slot[2:0] dc3_slp_slot[2:0] ldo1_err_act[1:0] dc1_on_mode[1:0] dc1_on_slot[2:0] ldo3_on_slot[2:0] ldo4_err_act[1:0] ldo4_on_slot[2:0] l do5_slp_slot[2:0] ldo5_err_act[1:0] ldo6_err_act[1:0] ldo4_slp_slot[2:0] dc1_dvs_src[1:0] dc4_hwc_src[1:0] dc2_hwc_src[1:0] dc2_dvs_src[1:0] ldo2_err_act[1:0] ldo2_slp_slot[2:0] ldo3_slp_slot[2:0] ldo5_on_slot[2:0] dc4_on_slot[2:0] dc4_slp_slot[2:0] dc2_slp_slot[2:0] dc1_slp_slot[2:0] dc2_rate[1:0] dc2_err_act[1:0] dc2_on_slot[2:0] dc3_on_slot[2:0] ldo3_hwc_src[1:0] ldo1_hwc_mode[1:0] ldo3_hwc_mode[1:0] ldo2_hwc_mode[1:0] ldo1_hwc_src[1:0] ldo2_hwc_src[1:0] ldo2_slp_vsel[4:0] ldo5_hwc_src[1:0] ldo6_hwc_src[1:0] ldo4_hwc_src[1:0] ldo4_hwc_mode[1:0] ldo5_hwc_mode[1:0] dc4_on_mode[1:0] ldo5_on_vsel[4:0] ldo3_slp_vsel[4:0] ldo3_on_vsel[4:0] ldo6_hwc_mode[1:0] dc3_hwc_mode[1:0] dc3_slp_mode[1:0] dc4_soft_start[1:0] ldo4_slp_vsel[4:0] ldo4_on_vsel[4:0] dc3_cap[1:0] dc3_slp_vsel[6:0] dc3_on_vsel[1:0] dc3_on_vsel[6:2] dc2_freq[1:0] dc2_hc_thr[2:0] dc2_slp_vsel[6:0] dc2_on_mode[1:0] dc2_on_vsel[6:2] dc2_hwc_mode[1:0] dc2_slp_mode[1:0] dc2_on_vsel[1:0] dc2_dvs_vsel[6:0] dc1_dvs_vsel[6:0] dc2_cap[1:0] dc2_soft_start[1:0] dc1_on_vsel[1:0] dc1_on_vsel[6:2]
production data WM8325 w pd, february 2012, rev 4.0 143 dec addr hex addr name 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bin default 16504 4078 ldo6 on control 0 000 ldo6_on_ mode 000 0000_0000_0000_0000 16505 4079 ldo6 sleep control 0 000 ldo6_slp_ mode 000 0000_0001_0000_0000 16506 407a ldo7 control 0 ldo7_hwc_v sel ldo7_flt ldo7_swi 0 0 000 0 0000_0010_0000_0000 16507 407b ldo7 on control 0 000 ldo7_on_ mode 000 0000_0000_0000_0000 16508 407c ldo7 sleep control 0 000 ldo7_slp_ mode 000 0000_0001_0000_0000 16509 407d ldo8 control 0 ldo8_hwc_v sel ldo8_flt ldo8_swi 0 0 000 0 0000_0010_0000_0000 16510 407e ldo8 on control 0 000 ldo8_on_ mode 000 0000_0000_0000_0000 16511 407f ldo8 sleep control 0 000 ldo8_slp_ mode 000 0000_0001_0000_0000 16512 4080 ldo9 control 0 ldo9_hwc_v sel ldo9_flt ldo9_swi 0 0 000 0 0000_0010_0000_0000 16513 4081 ldo9 on control 0 000 ldo9_on_ mode 000 0000_0000_0000_0000 16514 4082 ldo9 sleep control 0 000 ldo9_slp_ mode 000 0000_0001_0000_0000 16515 4083 ldo10 control 0 ldo10_hwc_ vsel ldo 10_flt ldo10_swi 0 0 000 0 0000_0010_0000_0000 16516 4084 ldo10 on control 0 000 ldo10_on_ mode 000 0000_0000_0000_0000 16517 4085 ldo10 sleep control 0 000 ldo10_slp _mode 000 0000_0001_0000_0000 16518 4086 reserved 000 0 000 00 00 0 000 0 0000_0000_0000_0000 16519 4087 ldo11 on control ldo11_frc ena 000 0 ldo11_vse l_src 00 0 0000_0000_0000_0000 16520 4088 ldo11 sleep control 0 000 0 000 0 0000_0000_0000_0000 16521 4089 epe1 control 00 epe1_hwc ena 0 000 0 0000_0000_0000_0000 16522 408a epe2 control 00 epe2_hwc ena 0 000 0 0000_0000_0000_0000 16523 408b reserved 0 0000 0 00000 0 000 0 0000_0000_0000_0000 16524 408c reserved 0 0000 0 00000 0 000 0 0000_0000_0000_0000 16525 408d reserved 0 0000 0 00000 0 000 0 0000_0000_0000_0000 16526 408e power good source 1 0 0000 0 000000 dc4_ok dc3_ok dc2_ok dc1_ok 0000_0000_0000_0111 16527 408f power good source 2 00000 0 ldo10_ok ldo9_ok ldo8_ok ldo7_ok ldo6_ok ldo5_ok ldo4_ok ldo3_ok ldo2_ok ldo1_ok 0000_0011_1111_1111 16528 4090 clock control 1 clkout_en a 0 clkout_o d 00 0 0000 u000_0000_0000_0000 16529 4091 clock control 2 x tal_inh 0 xtal_ena xtal_bkup ena 0 0 0000000000 0001_0000_0000_0000 16530 4092 reserved 0000 00 0000000000 0000_0000_0000_0000 16531 4093 reserved 0000 00 0000000000 0000_0000_0000_0000 16532 4094 reserved 0000 00 0000000000 0000_0000_0000_0000 16533 4095 reserved 0000 00 0000000000 0000_0000_0000_0000 16534 4096 reserved 0000 00 0000000000 0000_0000_0000_0000 16535 4097 reserved 0000 00 0000000000 0000_0000_0000_0000 ldo11_slp_slot[2:0] ldo10_hwc_mode[1:0] epe1_on_slot[2:0] epe1_hwc_src[1:0] ldo11_on_slot[2:0] ldo10_on_slot[2:0] ldo10_slp_slot[2:0] ldo10_hwc_src[1:0] ldo10_slp_vsel[4:0] ldo9_slp_vsel[4:0] ldo9_on_vsel[4:0] ldo6_on_vsel[4:0] ldo11_slp_vsel[3:0] ldo7_slp_vsel[4:0] ldo7_on_vsel[4:0] clkout_slpslot[2:0] ldo11_on_vsel[3:0] ldo10_on_vsel[4:0] ldo8_slp_vsel[4:0] ldo7_err_act[1:0] ldo6_slp_slot[2:0] ldo7_on_slot[2:0] ldo9_on_slot[2:0] ldo7_slp_slot[2:0] ldo10_err_act[1:0] ldo9_err_act[1:0] ldo8_err_act[1:0] ldo8_on_slot[2:0] epe2_hwc_src[1:0] ldo8_hwc_src[1:0] ldo9_slp_slot[2:0] ldo8_slp_slot[2:0] ldo6_on_slot[2:0] ldo9_hwc_mode[1:0] ldo7_hwc_src[1:0] ldo9_hwc_src[1:0] ldo8_hwc_mode[1:0] ldo6_slp_vsel[4:0] ldo8_on_vsel[4:0] ldo7_hwc_mode[1:0] epe1_slp_slot[2:0] epe2_slp_slot[2:0] clkout_slot[2:0] epe2_on_slot[2:0]
WM8325 production data w pd, february 2012, rev 4.0 144 de c ad d r he x ad d r nam e 1514131211109876543210 bin default 30720 7800 unique id 1 0000_0000_0000_0000 30721 7801 unique id 2 0000_0000_0000_0000 30722 7802 unique id 3 0000_0000_0000_0000 30723 7803 unique id 4 0000_0000_0000_0000 30724 7804 unique id 5 0000_0000_0000_0000 30725 7805 unique id 6 0000_0000_0000_0000 30726 7806 unique id 7 0000_0000_0000_0000 30727 7807 unique id 8 0000_0000_0000_0000 30728 7808 factory otp id 0000 00 0000000000 0000_0000_0000_0000 30729 7809 factory otp 1 0000 00 0000000000 0000_0000_0000_0000 30730 780a factory otp 2 0000 00 0000000000 0000_0000_0000_0000 30731 780b factory otp 3 0000 00 0000000000 0000_0000_0000_0000 30732 780c factory otp 4 0000 00 0000000000 0000_0000_0000_0000 30733 780d factory otp 5 00000 0 0000000000 0000_0000_0000_0000 30734 780e factory otp 6 00000 0 0000000000 0000_0000_0000_0000 30735 780f res er v ed 0000 00 0000000000 0000_0000_0000_0000 30736 7810 customer otp id otp_a uto_ prog otp_cust _final 0000_0000_0000_0000 30737 7811 dc1 otp contr ol 0000_0000_0000_0000 30738 7812 dc2 otp contr ol 0000_0000_0000_0000 30739 7813 dc3 otp contr ol dc4_pha se dc3_phas e dc2_phas e dc1_phas e 0010_0000_0000_0000 30740 7814 ldo1/2 otp control 0000_0000_0000_0000 30741 7815 ldo3/4 otp control 0000_0000_0000_0000 30742 7816 ldo5/6 otp control 0000_0000_0000_0000 30 743 7817 ldo7/8 otp control 0000_0000_0000_0000 30744 7818 ldo9/10 otp control 0000_0000_0000_0000 30745 7819 ldo11/epe control 0 0 dc4_slv 0000_0000_0000_0000 30746 781a gpio1 otp control gp1_dir gp1_int_m ode gp1_pwr_ dom gp1_pol gp1_od gp1_ena 0 xtal_ena xtal_inh 0 1010_0100_0000_0000 30747 781b gpio2 otp control gp2_dir gp2_int_m ode gp2_pwr_ dom gp2_pol gp2_od gp2_ena wdog_en a 1010_0100_0000_0001 30748 781c gpio3 otp control gp3_dir gp3_int_m ode gp3_pwr_ dom gp3_pol gp3_od gp3_ena 00 0 0 1010_0100_0000_0000 30749 781d gpio4 otp control gp4_dir gp4_int_m ode gp4_pwr_ dom gp4_pol gp4_od gp4_ena 1010_0100_0000_1111 30750 781e gpio5 otp control gp5_dir gp5_int_m ode gp5_pwr_ dom gp5_pol gp5_od gp5_ena 0000 1010_0100_0000_0000 30751 781f gpio6 otp control gp6_dir gp6_int_m ode gp6_pwr_ dom gp6_pol gp6_od gp6_ena 0 1010_0100_0000_1010 ldo9_on_vsel[4:0] ldo7_on_vsel[4:0] gp3_fn[3:0] unique_id[15:0] ldo4_on_slot[2:0] ldo4_on_vsel[4:0] gp3_pull[1:0] dc3_on_slot[2:0] dc2_on_vsel[6:2] led1_src[1:0] gp5_fn[3:0] sysok_thr[2:0] gp4_fn[3:0] ldo1_on_vsel[4:0] ldo5_on_vsel[4:0] ldo5_on_slot[2:0] ldo3_on_slot[2:0] ldo3_on_vsel[4:0] epe2 _on_ sl ot[ 2 : 0] gp2_fn[3:0] gp1_pull[1:0] gp1_fn[3:0] ldo11_on_slot[2:0] ldo7_on_slot[2:0] ldo9_on_slot[2:0] ldo10_on_vsel[4:0] ldo11_on_vsel[3:0] dc2_on_slot[2:0] dc4_on_slot[2:0] otp_cust_id[13:0] dc4_on_vsel[6:2] unique_id[47:32] dc3_on_vsel[6:2] unique_id[63:48] unique_id[79:64] gp6_fn[3:0] ldo8_on_slot[2:0] ldo10_on_slot[2:0] gp4_pull[1:0] gp6_pull[1:0] gp5_pull[1:0] unique_id[111:96] unique_id[127:112] ldo6_on_slot[2:0] gp2_pull[1:0] epe1_on_slot[2:0] led2_src[1:0] dc4_ca p[1:0] dc1_freq[1:0] clkout_slot[2:0] unique_id[31:16] dc2_cap[1:0] ldo8_on_vsel[4:0] ldo2_on_vsel[4:0] ldo6_on_vsel[4:0] dc3_ca p[1:0] dc1_on_slot[2:0] ldo2_on_slot[2:0] dc1_on_vsel[6:2] ldo1_on_slot[2:0] dc1_cap[1:0] dc2_freq[1:0] unique_id[95:80]
production data WM8325 w pd, february 2012, rev 4.0 145 dec addr hex addr name 151413121110 9876543210 bin default 30752 7820 reserved 000 0 000 0 000 0 000 0 0000_0000_0000_0000 30753 7821 reserved 000 0 000 0 000 0 000 0 0000_0000_0000_0000 30754 7822 reserved 0 0000 0 0000000000 0000_0000_0000_0000 30755 7823 reserved 000 0 000 0 000 0 000 0 0000_0000_0l0h_h0ll 30756 7824 reserved 000 0 000 0 000 0 000 0 0000_0000_0000_0000 30757 7825 reserved 000 0 000 0 000 0 000 0 0000_0000_0000_0000 30758 7826 reserved 0 0000 0 0000000000 0000_0000_0000_0000 30759 7827 ice check data 0000_0000_0000_0000 ice_valid_data[15:0]
WM8325 production data w pd, february 2012, rev 4.0 146 29 register bits by address register address bit label default description refer to r0 (00h) reset id 15:0 chip_id [15:0] 0000_0000 _0000_000 0 writing to this register causes a software reset. the register map contents may be reset, depending on sw_reset_cfg. reading from this register will indicate chip id. register 00h reset id register address bit label default description refer to r1 (01h) revision 15:8 parent_rev [7:0] 0000_0000 the revision number of the parent die 7:0 child_rev [7:0] 0000_0000 the revision number of the child die (when present) register 01h revision register address bit label default description refer to r16384 (4000h) parent id 15:0 parent_id [15:0] 0110_0010 _0100_011 0 the id of the parent die register 4000h parent id register address bit label default description refer to r16385 (4001h) pvdd control 15:14 syslo_err_ act [1:0] 00 syslo error action selects the action taken when syslo is asserted 00 = interrupt 01 = wake transition 10 = reserved 11 = off transition 11 syslo_sts 0 syslo status 0 = normal 1 = pvdd is below syslo threshold 6:4 syslo_thr [2:0] 010 syslo threshold (falling pvdd) this is the falling pvdd voltage at which syslo will be asserted 000 = 2.8v 001 = 2.9v ? 111 = 3.5v 2:0 sysok_thr [2:0] 101 sysok threshold (rising pvdd) this is the rising pvdd voltage at which sysok will be asserted 000 = 2.8v 001 = 2.9v ? 111 = 3.5v note that the sysok hysteresis margin is added to these threshold levels. register 4001h pvdd control
production data WM8325 w pd, february 2012, rev 4.0 147 register address bit label default description refer to r16386 (4002h) thermal monitoring 3 thw_hyst 1 thermal warning hysteresis 0 = 8 degrees c 1 = 16 degrees c 1:0 thw_temp [1:0] 10 thermal warning temperature 00 = 90 degrees c 01 = 100 degrees c 10 = 110 degrees c 11 = 120 degrees c register 4002h thermal monitoring register address bit label default description refer to r16387 (4003h) power state 15 chip_on 0 indicates whether the system is on or off. 0 = off 1 = on (or sleep) off can be commanded by writing chip_on = 0. note that writing chip_on = 1 is not a valid ?on? event, and will not trigger an on transition. 14 chip_slp 0 indicates whether the system is in the sleep state. 0 = not in sleep 1 = sleep wake can be commanded by writing chip_slp = 0. sleep can be commanded by writing chip_slp = 1. 12 ref_lp 0 low power voltage reference control 0 = normal 1 = low power reference mode select note that low power reference mode is only supported when the auxiliary adc is disabled. 11:10 pwrstate_d ly [1:0] 10 power state transition delay 00 = no delay 01 = no delay 10 = 1ms 11 = 10ms 9 swrst_dly 0 software reset delay 0 = no delay 1 = software reset is delayed by pwrstate_dly following the software reset command register 4003h power state register address bit label default description refer to r16388 (4004h) watchdog 15 wdog_ena 1 watchdog timer enable 0 = disabled 1 = enabled (enables the watchdog; does not reset it) protected by security key. 14 wdog_debu g 0 watchdog pause 0 = disabled 1 = enabled (halts the watchdog timer for system debugging) protected by security key.
WM8325 production data w pd, february 2012, rev 4.0 148 register address bit label default description refer to 13 wdog_rst_s rc 1 watchdog reset source 0 = hardware only 1 = software only protected by security key. 12 wdog_slpe na 0 watchdog sleep enable 0 = disabled 1 = controlled by wdog_ena protected by security key. 11 wdog_rese t 0 watchdog software reset 0 = normal 1 = watchdog reset (resets the watchdog, if wdog_rst_src = 1) 9:8 wdog_seca ct [1:0] 10 secondary action of watchdog timeout (taken after 2 timeout periods) 00 = no action 01 = interrupt 10 = device reset 11 = wake transition protected by security key. 5:4 wdog_prima ct [1:0] 01 primary action of watchdog timeout 00 = no action 01 = interrupt 10 = device reset 11 = wake transition protected by security key. 2:0 wdog_to [2:0] 111 watchdog timeout period 000 = 0.256s 001 = 0.512s 010 = 1.024s 011 = 2.048s 100 = 4.096s 101 = 8.192s 110 = 16.384s 111 = 32.768s protected by security key. register 4004h watchdog register address bit label default description refer to r16389 (4005h) on pin control 9:8 on_pin_seca ct [1:0] 01 secondary action of on pin (taken after 1 timeout period) 00 = interrupt 01 = on request 10 = off request 11 = reserved protected by security key. 5:4 on_pin_prim act [1:0] 00 primary action of on pin 00 = ignore 01 = on request 10 = off request 11 = reserved note that an interrupt is always raised.
production data WM8325 w pd, february 2012, rev 4.0 149 register address bit label default description refer to protected by security key. 3 on_pin_sts 0 current status of on pin 0 = asserted (logic 0) 1 = not asserted (logic 1) 1:0 on_pin_to [1:0] 00 on pin timeout period 00 = 1s 01 = 2s 10 = 4s 11 = 8s protected by security key. register 4005h on pin control register address bit label default description refer to r16390 (4006h) reset control 15 reconfig_a t_on 1 selects if the bootstrap configuration data should be reloaded when an on transition is scheduled 0 = disabled 1 = enabled protected by security key. 10 sw_reset_c fg 1 software reset configuration. selects whether the register map is reset to default values when software reset occurs. 0 = all registers except vpmic domain and rtc are reset by software reset 1 = register map is not affected by software reset protected by security key. 6 auxrst_slp ena 1 sets the output status of auxiliary reset (gpio) function in sleep 0 = auxiliary reset not asserted 1 = auxiliary reset asserted protected by security key. 5 rst_slp_ms k 1 masks the reset pin input in sleep mode 0 = external reset active in sleep 1 = external reset masked in sleep protected by security key. 4 rst_slpena 1 sets the output status of reset pin in sleep 0 = reset high (not asserted) 1 = reset low (asserted) protected by security key. 1:0 rst_dur [1:0] 11 delay period for releasing reset after on or wake sequence 00 = 3ms 01 = 11ms 10 = 51ms 11 = 101ms protected by security key. register 4006h reset control
WM8325 production data w pd, february 2012, rev 4.0 150 register address bit label default description refer to r16391 (4007h) control interface 2 autoinc 1 enable auto-increment function 0 = disabled 1 = enabled register 4007h control interface register address bit label default description refer to r16392 (4008h) security key 15:0 security [15:0] 0000_0000 _0000_000 0 security key a value of 9716h must be written to this register to access the user-keyed registers. register 4008h security key register address bit label default description refer to r16393 (4009h) software scratch 15:0 sw_scratch [15:0] 0000_0000 _0000_000 0 software scratch register for use by the host processor. note that this register?s contents are retained in the backup power state. register 4009h software scratch register address bit label default description refer to r16394 (400ah) otp control 15 otp_prog 0 selects the program device state. 0 = no action 1 = select program mode note that, after program mode has been selected, the chip will remain in program mode until a device reset. protected by security key. 13 otp_mem 1 selects ice or otp memory for program commands. 0 = ice 1 = otp protected by security key. 11 otp_final 0 selects the finalise command, preventing further otp programming. 0 = no action 1 = finalise command protected by security key. 10 otp_verify 0 selects the verify command for the selected otp memory page(s). 0 = no action 1 = verify command protected by security key. 9 otp_write 0 selects write command for the selected otp memory page(s). 0 = no action 1 = write command protected by security key.
production data WM8325 w pd, february 2012, rev 4.0 151 register address bit label default description refer to 8 otp_read 0 selects read command for the selected memory page(s). 0 = no action 1 = read command protected by security key. 7:6 otp_read_l vl [1:0] 00 selects the margin level for read or verify otp commands. 00 = normal 01 = reserved 10 = margin 1 11 = margin 2 protected by security key. 5 otp_bulk 0 selects the number of memory pages for ice / otp commands. 0 = single page 1 = all pages 1:0 otp_page [1:0] 00 selects the single memory page for ice / otp commands (when otp_bulk=0). if otp is selected (otp_mem = 1): 00 = page 0 01 = page 1 10 = page 2 11 = page 3 if ice is selected (otp_mem = 0): 00 = page 2 01 = page 3 10 = page 4 11 = reserved register 400ah otp control register address bit label default description refer to r16396 (400ch) gpio level 11 gp12_lvl 0 gpio12 level. when gp12_fn = 0h and gp12_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp12_pol is 0, the register contains the opposite logic level to the external pin. 10 gp11_lvl 0 gpio11 level. when gp11_fn = 0h and gp11_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp11_pol is 0, the register contains the opposite logic level to the external pin. 9 gp10_lvl 0 gpio10 level. when gp10_fn = 0h and gp10_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp10_pol is 0, the register contains the opposite logic level to the external pin.
WM8325 production data w pd, february 2012, rev 4.0 152 register address bit label default description refer to 8 gp9_lvl 0 gpio9 level. when gp9_fn = 0h and gp9_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp9_pol is 0, the register contains the opposite logic level to the external pin. 7 gp8_lvl 0 gpio8 level. when gp8_fn = 0h and gp8_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp8_pol is 0, the register contains the opposite logic level to the external pin. 6 gp7_lvl 0 gpio7 level. when gp7_fn = 0h and gp7_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp7_pol is 0, the register contains the opposite logic level to the external pin. 5 gp6_lvl 0 gpio6 level. when gp6_fn = 0h and gp6_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp6_pol is 0, the register contains the opposite logic level to the external pin. 4 gp5_lvl 0 gpio5 level. when gp5_fn = 0h and gp5_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp5_pol is 0, the register contains the opposite logic level to the external pin. 3 gp4_lvl 0 gpio4 level. when gp4_fn = 0h and gp4_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp4_pol is 0, the register contains the opposite logic level to the external pin. 2 gp3_lvl 0 gpio3 level. when gp3_fn = 0h and gp3_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp3_pol is 0, the register contains the opposite logic level to the external pin. 1 gp2_lvl 0 gpio2 level. when gp2_fn = 0h and gp2_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp2_pol is 0, the register contains the opposite logic level to the external pin. 0 gp1_lvl 0 gpio1 level. when gp1_fn = 0h and gp1_dir = 0, write to this bit to set a gpio output. read from this bit to read gpio input level. when gp1_pol is 0, the register contains the opposite logic level to the external pin. register 400ch gpio level
production data WM8325 w pd, february 2012, rev 4.0 153 register address bit label default description refer to r16397 (400dh) system status 15 thw_sts 0 thermal warning status 0 = normal 1 = overtemperature warning (warning temperature is set by thw_temp) 7 xtal_ok 0 crystal oscillator status 0 = disabled or in start-up phase 1 = enabled and verified 4:0 main_state [4:0] 0_0000 main state machine condition 0_0000 = off 0_0001 = on_chk 0_0010 = otp_dn 0_0011 = read_otp 0_0100 = read_ice 0_0101 = ice_dn 0_0110 = bgdelay 0_0111 = hyst 0_1000 = s_prg_rd_otp 0_1001 = s_prg_otp_dn 0_1010 = pwrdn1 0_1011 = program 0_1100 = prog_dn 0_1101 = prog_otp 0_1110 = vfy_otp 0_1111 = vfy_dn 1_0000 = sd_rd_otp 1_0001 = unused 1_0010 = ice_fail 1_0011 = shutdown 1_0100 = startfail 1_0101 = startup 1_0110 = preactive 1_0111 = xtal_chk 1_1000 = pwrdn2 1_1001 = shut_dly 1_1010 = reset 1_1011 = reset_dly 1_1100 = sleep 1_1101 = sleep_dly 1_1110 = chk_rst 1_1111 = active (on) register 400dh system status register address bit label default description refer to r16398 (400eh) on source 15 on_trans 0 most recent on/wake event type 0 = wake transition 1 = on transition reset by state machine. 11 on_gpio 0 most recent on/wake event type 0 = not caused by gpio input 1 = caused by gpio input
WM8325 production data w pd, february 2012, rev 4.0 154 register address bit label default description refer to reset by state machine. 10 on_syslo 0 most recent wake event type 0 = not caused by pvdd 1 = caused by syslo threshold. note that the syslo threshold cannot trigger an on event. reset by state machine. 7 on_wdog_t o 0 most recent wake event type 0 = not caused by watchdog timer 1 = caused by watchdog timer reset by state machine. 6 on_sw_req 0 most recent wake event type 0 = not caused by software wake 1 = caused by software wake command (chip_slp = 0) reset by state machine. 5 on_rtc_alm 0 most recent on/wake event type 0 = not caused by rtc alarm 1 = caused by rtc alarm reset by state machine. 4 on_on_pin 0 most recent on/wake event type 0 = not caused by the on pin 1 = caused by the on pin reset by state machine. 3 reset_cnv_ uv 0 most recent on event type 0 = not caused by undervoltage 1 = caused by a device reset due to a converter (ldo or dc-dc) undervoltage condition reset by state machine. 2 reset_sw 0 most recent on event type 0 = not caused by software reset 1 = caused by software reset reset by state machine. 1 reset_hw 0 most recent on event type 0 = not caused by hardware reset 1 = caused by hardware reset reset by state machine. 0 reset_wdo g 0 most recent on event type 0 = not caused by the watchdog 1 = caused by a device reset triggered by the watchdog timer reset by state machine. register 400eh on source register address bit label default description refer to r16399 (400fh) off source 13 off_intldo_ err 0 most recent off event type 0 = not caused by ldo13 error condition 1 = caused by ldo13 error condition reset by state machine. 12 off_pwr_se q 0 most recent off event type 0 = not caused by power sequence failure 1 = caused by a power sequence failure
production data WM8325 w pd, february 2012, rev 4.0 155 register address bit label default description refer to reset by state machine. 11 off_gpio 0 most recent off event type 0 = not caused by gpio input 1 = caused by gpio input reset by state machine. 10 off_pvdd 0 most recent off event type 0 = not caused by pvdd 1 = caused by the syslo or shutdown threshold reset by state machine. 9 off_therr 0 most recent off event type 0 = not caused by temperature 1 = caused by over-temperature reset by state machine. 6 off_sw_req 0 most recent off event type 0 = not caused by software off 1 = caused by software off command (chip_on = 0) reset by state machine. 4 off_on_pin 0 most recent off event type 0 = not caused by the on pin 1 = caused by the on pin reset by state machine. register 400fh off source register address bit label default description refer to r16400 (4010h) system interrupts 15 ps_int 0 power state primary interrupt 0 = no interrupt 1 = interrupt is asserted 14 temp_int 0 thermal primary interrupt 0 = no interrupt 1 = interrupt is asserted 13 gp_int 0 gpio primary interrupt 0 = no interrupt 1 = interrupt is asserted 12 on_pin_int 0 on pin primary interrupt 0 = no interrupt 1 = interrupt is asserted 11 wdog_int 0 watchdog primary interrupt 0 = no interrupt 1 = interrupt is asserted 8 auxadc_int 0 auxadc primary interrupt 0 = no interrupt 1 = interrupt is asserted 7 ppm_int 0 power path management primary interrupt 0 = no interrupt 1 = interrupt is asserted 5 rtc_int 0 real time clock and crystal oscillator primary interrupt 0 = no interrupt 1 = interrupt is asserted 4 otp_int 0 otp memory primary interrupt 0 = no interrupt
WM8325 production data w pd, february 2012, rev 4.0 156 register address bit label default description refer to 1 = interrupt is asserted 1 hc_int 0 high current primary interrupt 0 = no interrupt 1 = interrupt is asserted 0 uv_int 0 undervoltage primary interrupt 0 = no interrupt 1 = interrupt is asserted register 4010h system interrupts register address bit label default description refer to r16401 (4011h) interrupt status 1 15 ppm_syslo_ eint 0 power path syslo interrupt (rising edge triggered) note: cleared when a ?1? is written. 12 on_pin_cint 0 on pin interrupt. (rising and falling edge triggered) note: cleared when a ?1? is written. 11 wdog_to_ei nt 0 watchdog timeout interrupt. (rising edge triggered) note: cleared when a ?1? is written. 8 auxadc_dat a_eint 0 auxadc data ready interrupt (rising edge triggered) note: cleared when a ?1? is written. 7 auxadc_dco mp4_eint 0 auxadc digital comparator 4 interrupt (trigger is controlled by dcmp4_gt) note: cleared when a ?1? is written. 6 auxadc_dco mp3_eint 0 auxadc digital comparator 3 interrupt (trigger is controlled by dcmp3_gt) note: cleared when a ?1? is written. 5 auxadc_dco mp2_eint 0 auxadc digital comparator 2 interrupt (trigger is controlled by dcmp2_gt) note: cleared when a ?1? is written. 4 auxadc_dco mp1_eint 0 auxadc digital comparator 1 interrupt (trigger is controlled by dcmp1_gt) note: cleared when a ?1? is written. 3 rtc_per_ein t 0 rtc periodic interrupt (rising edge triggered) note: cleared when a ?1? is written. 2 rtc_alm_ein t 0 rtc alarm interrupt (rising edge triggered) note: cleared when a ?1? is written. 1 temp_thw_c int 0 thermal warning interrupt (rising and falling edge triggered) note: cleared when a ?1? is written. register 4011h interrupt status 1
production data WM8325 w pd, february 2012, rev 4.0 157 register address bit label default description refer to r16402 (4012h) interrupt status 2 5 otp_cmd_en d_eint 0 otp / ice command end interrupt (rising edge triggered) note: cleared when a ?1? is written. 4 otp_err_ein t 0 otp / ice command fail interrupt (rising edge triggered) note: cleared when a ?1? is written. 2 ps_por_eint 0 power on reset interrupt (rising edge triggered) note: cleared when a ?1? is written. 1 ps_sleep_o ff_eint 0 sleep or off interrupt (power state transition to sleep or off states) (rising edge triggered) note: cleared when a ?1? is written. 0 ps_on_wake _eint 0 on or wake interrupt (power state transition to on state) (rising edge triggered) note: cleared when a ?1? is written. register 4012h interrupt status 2 register address bit label default description refer to r16403 (4013h) interrupt status 3 9 uv_ldo10_ei nt 0 ldo10 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 8 uv_ldo9_ein t 0 ldo9 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 7 uv_ldo8_ein t 0 ldo8 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 6 uv_ldo7_ein t 0 ldo7 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 5 uv_ldo6_ein t 0 ldo6 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 4 uv_ldo5_ein t 0 ldo5 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 3 uv_ldo4_ein t 0 ldo4 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 2 uv_ldo3_ein t 0 ldo3 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 1 uv_ldo2_ein t 0 ldo2 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 0 uv_ldo1_ein t 0 ldo1 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. register 4013h interrupt status 3
WM8325 production data w pd, february 2012, rev 4.0 158 register address bit label default description refer to r16404 (4014h) interrupt status 4 9 hc_dc2_eint 0 dc-dc2 high current interrupt (rising edge triggered) note: cleared when a ?1? is written. 8 hc_dc1_eint 0 dc-dc1 high current interrupt (rising edge triggered) note: cleared when a ?1? is written. 7 xtal_start_ eint 0 crystal oscillator start failure interrupt (rising edge triggered) note: cleared when a ?1? is written. 6 xtal_tampe r_eint 0 crystal oscillator tamper interrupt (rising and falling edge triggered) note: cleared when a ?1? is written. 3 uv_dc4_eint 0 dc-dc4 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 2 uv_dc3_eint 0 dc-dc3 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 1 uv_dc2_eint 0 dc-dc2 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. 0 uv_dc1_eint 0 dc-dc1 undervoltage interrupt (rising edge triggered) note: cleared when a ?1? is written. register 4014h interrupt status 4 register address bit label default description refer to r16405 (4015h) interrupt status 5 11 gp12_eint 0 gpio12 interrupt. (trigger is controlled by gp12_int_mode) note: cleared when a ?1? is written. 10 gp11_eint 0 gpio11 interrupt. (trigger is controlled by gp11_int_mode) note: cleared when a ?1? is written. 9 gp10_eint 0 gpio10 interrupt. (trigger is controlled by gp10_int_mode) note: cleared when a ?1? is written. 8 gp9_eint 0 gpio9 interrupt. (trigger is controlled by gp9_int_mode) note: cleared when a ?1? is written. 7 gp8_eint 0 gpio8 interrupt. (trigger is controlled by gp8_int_mode) note: cleared when a ?1? is written. 6 gp7_eint 0 gpio7 interrupt. (trigger is controlled by gp7_int_mode) note: cleared when a ?1? is written. 5 gp6_eint 0 gpio6 interrupt. (trigger is controlled by gp6_int_mode) note: cleared when a ?1? is written.
production data WM8325 w pd, february 2012, rev 4.0 159 register address bit label default description refer to 4 gp5_eint 0 gpio5 interrupt. (trigger is controlled by gp5_int_mode) note: cleared when a ?1? is written. 3 gp4_eint 0 gpio4 interrupt. (trigger is controlled by gp4_int_mode) note: cleared when a ?1? is written. 2 gp3_eint 0 gpio3 interrupt. (trigger is controlled by gp3_int_mode) note: cleared when a ?1? is written. 1 gp2_eint 0 gpio2 interrupt. (trigger is controlled by gp2_int_mode) note: cleared when a ?1? is written. 0 gp1_eint 0 gpio1 interrupt. (trigger is controlled by gp1_int_mode) note: cleared when a ?1? is written. register 4015h interrupt status 5 register address bit label default description refer to r16407 (4017h) irq config 1 irq_od 1 irq pin configuration 0 = cmos 1 = open drain (integrated pull-up) 0 im_irq 0 irq pin output mask 0 = normal 1 = irq output is masked register 4017h irq config register address bit label default description refer to r16408 (4018h) system interrupts mask 15 im_ps_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 14 im_temp_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 13 im_gp_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 12 im_on_pin_in t 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 11 im_wdog_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked)
WM8325 production data w pd, february 2012, rev 4.0 160 register address bit label default description refer to 8 im_auxadc_i nt 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 7 im_ppm_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 5 im_rtc_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 4 im_otp_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_hc_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 0 im_uv_int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) register 4018h system interrupts mask register address bit label default description refer to r16409 (4019h) interrupt status 1 mask 15 im_ppm_sysl o_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 12 im_on_pin_ci nt 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 11 im_wdog_to _eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 8 im_auxadc_ data_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 7 im_auxadc_ dcomp4_ein t 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 6 im_auxadc_ dcomp3_ein t 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt.
production data WM8325 w pd, february 2012, rev 4.0 161 register address bit label default description refer to default value is 1 (masked) 5 im_auxadc_ dcomp2_ein t 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 4 im_auxadc_ dcomp1_ein t 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 3 im_rtc_per_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 2 im_rtc_alm_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_temp_th w_cint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) register 4019h interrupt status 1 mask register address bit label default description refer to r16410 (401ah) interrupt status 2 mask 5 im_otp_cmd _end_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 4 im_otp_err_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 2 im_ps_por_e int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_ps_sleep _off_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 0 im_ps_on_w ake_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) register 401ah interrupt status 2 mask
WM8325 production data w pd, february 2012, rev 4.0 162 register address bit label default description refer to r16411 (401bh) interrupt status 3 mask 9 im_uv_ldo10 _eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 8 im_uv_ldo9_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 7 im_uv_ldo8_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 6 im_uv_ldo7_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 5 im_uv_ldo6_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 4 im_uv_ldo5_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 3 im_uv_ldo4_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 2 im_uv_ldo3_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_uv_ldo2_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 0 im_uv_ldo1_ eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) register 401bh interrupt status 3 mask register address bit label default description refer to r16412 (401ch) interrupt status 4 mask 9 im_hc_dc2_e int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 8 im_hc_dc1_e int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt.
production data WM8325 w pd, february 2012, rev 4.0 163 register address bit label default description refer to default value is 1 (masked) 7 im_xtal_sta rt_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 3 im_uv_dc4_e int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 2 im_uv_dc3_e int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_uv_dc2_e int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 0 im_uv_dc1_e int 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) register 401ch interrupt status 4 mask register address bit label default description refer to r16413 (401dh) interrupt status 5 mask 11 im_gp12_ein t 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 10 im_gp11_ein t 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 9 im_gp10_ein t 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 8 im_gp9_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 7 im_gp8_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 6 im_gp7_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 5 im_gp6_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt.
WM8325 production data w pd, february 2012, rev 4.0 164 register address bit label default description refer to default value is 1 (masked) 4 im_gp5_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 3 im_gp4_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 2 im_gp3_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 1 im_gp2_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) 0 im_gp1_eint 1 interrupt mask. 0 = do not mask interrupt. 1 = mask interrupt. default value is 1 (masked) register 401dh interrupt status 5 mask register address bit label default description refer to r16416 (4020h) rtc write counter 15:0 rtc_wr_cnt [15:0] 0000_0000 _0000_000 0 rtc write counter. this random number is updated on every write to the rtc_time registers. register 4020h rtc write counter register address bit label default description refer to r16417 (4021h) rtc time 1 15:0 rtc_time [15:0] 0000_0000 _0000_000 0 rtc seconds counter (msw) rtc_time increments by 1 every second. this is the 16 msbs. register 4021h rtc time 1 register address bit label default description refer to r16418 (4022h) rtc time 2 15:0 rtc_time [15:0] 0000_0000 _0000_000 0 rtc seconds counter (lsw) rtc_time increments by 1 every second. this is the 16 lsbs. register 4022h rtc time 2
production data WM8325 w pd, february 2012, rev 4.0 165 register address bit label default description refer to r16419 (4023h) rtc alarm 1 15:0 rtc_alm [15:0] 0000_0000 _0000_000 0 rtc alarm time (msw) 16 msbs of rtc_alm register 4023h rtc alarm 1 register address bit label default description refer to r16420 (4024h) rtc alarm 2 15:0 rtc_alm [15:0] 0000_0000 _0000_000 0 rtc alarm time (lsw) 16 lsbs of rtc_alm register 4024h rtc alarm 2 register address bit label default description refer to r16421 (4025h) rtc control 15 rtc_valid 0 rtc valid status 0 = rtc_time has not been set since power on reset 1 = rtc_time has been written to since power on reset 14 rtc_sync_b usy 0 rtc busy status 0 = normal 1 = busy the rtc registers should not be written to when rtc_sync_busy = 1. 10 rtc_alm_en a 0 rtc alarm enable 0 = disabled 1 = enabled 6:4 rtc_pint_fr eq [2:0] 000 rtc periodic interrupt timeout period 000 = disabled 001 = 2s 010 = 4s 011 = 8s 100 = 16s 101 = 32s 110 = 64s 111 = 128s register 4025h rtc control register address bit label default description refer to r16422 (4026h) rtc trim 9:0 rtc_trim [9:0] 00_0000_0 000 rtc frequency trim. value is a 10bit fixed point <4,6> 2's complement number. msb scaling = -8hz. the register indicates the error (in hz) with respect to the ideal 32768hz) of the input crystal frequency. protected by security key. register 4026h rtc trim
WM8325 production data w pd, february 2012, rev 4.0 166 register address bit label default description refer to r16429 (402dh) auxadc data 15:12 aux_data_s rc [3:0] 0000 auxadc data source 1 = gpio10 2 = gpio11 3 = gpio12 5 = chip temperature 7 = pvdd voltage all other values are reserved 11:0 aux_data [11:0] 0000_0000 _0000 auxadc measurement data voltage (mv) = aux_data x 1.465 chiptemp (c) = (498 - aux_data) / 1.09 register 402dh auxadc data register address bit label default description refer to r16430 (402eh) auxadc control 15 aux_ena 0 auxadc enable 0 = disabled 1 = enabled note - this bit is reset to 0 when the off power state is entered. 14 aux_cvt_en a 0 auxadc conversion enable 0 = disabled 1 = enabled in automatic mode, conversions are enabled by setting this bit. in manual mode (aux_rate = 0), setting this bit will initiate a conversion; the bit is reset automatically after each conversion. 12 aux_slpena 0 auxadc sleep enable 0 = disabled 1 = controlled by aux_ena 5:0 aux_rate [5:0] 00_0000 auxadc conversion rate 0 = manual 1 = 2 samples/s 2 = 4 samples/s 3 = 6 samples/s ? 31 = 62 samples/s 32 = reserved 33 = 16 samples/s 34 = 32 samples/s 35 = 48 samples/s ? 63 = 496 samples/s register 402eh auxadc control
production data WM8325 w pd, february 2012, rev 4.0 167 register address bit label default description refer to r16431 (402fh) auxadc source 6 aux_pvdd_s el 0 auxadc pvdd input select 0 = disable pvdd measurement 1 = enable pvdd measurement 4 aux_chip_te mp_sel 0 auxadc chip temp input select 0 = disable chip temp measurement 1 = enable chip temp measurement 2 aux_gpio12_ sel 0 auxadc gpio12 input select 0 = disable gpio12 measurement 1 = enable gpio12 measurement 1 aux_gpio11_ sel 0 auxadc gpio11 input select 0 = disable gpio11 measurement 1 = enable gpio11 measurement 0 aux_gpio10_ sel 0 auxadc gpio10 input select 0 = disable gpio10 measurement 1 = enable gpio10 measurement register 402fh auxadc source register address bit label default description refer to r16432 (4030h) comparator control 11 dcomp4_sts 0 digital comparator 4 status 0 = comparator 4 threshold not detected 1 = comparator 4 threshold detected (trigger is controlled by dcmp4_gt) 10 dcomp3_sts 0 digital comparator 3 status 0 = comparator 3 threshold not detected 1 = comparator 3 threshold detected (trigger is controlled by dcmp3_gt) 9 dcomp2_sts 0 digital comparator 2 status 0 = comparator 2 threshold not detected 1 = comparator 2 threshold detected (trigger is controlled by dcmp2_gt) 8 dcomp1_sts 0 digital comparator 1 status 0 = comparator 1 threshold not detected 1 = comparator 1 threshold detected (trigger is controlled by dcmp1_gt) 3 dcmp4_ena 0 digital comparator 4 enable 0 = disabled 1 = enabled 2 dcmp3_ena 0 digital comparator 3 enable 0 = disabled 1 = enabled 1 dcmp2_ena 0 digital comparator 2 enable 0 = disabled 1 = enabled 0 dcmp1_ena 0 digital comparator 1 enable 0 = disabled 1 = enabled register 4030h comparator control
WM8325 production data w pd, february 2012, rev 4.0 168 register address bit label default description refer to r16433 (4031h) comparator 1 15:13 dcmp1_src [2:0] 000 digital comparator 1 source select 0 = reserved 1 = gpio10 2 = gpio11 3 = gpio12 4 = reserved 5 = chip temperature 6 = reserved 7 = pvdd voltage 12 dcmp1_gt 0 digital comparator 1 interrupt control 0 = interrupt when less than threshold 1 = interrupt when greater than or equal to threshold 11:0 dcmp1_thr [11:0] 0000_0000 _0000 digital comparator 1 threshold (12-bit unsigned binary number; coding is the same as aux_data) register 4031h comparator 1 register address bit label default description refer to r16434 (4032h) comparator 2 15:13 dcmp2_src [2:0] 000 digital comparator 2 source select 0 = reserved 1 = gpio10 2 = gpio11 3 = gpio12 4 = reserved 5 = chip temperature 6 = reserved 7 = pvdd voltage 12 dcmp2_gt 0 digital comparator 2 interrupt control 0 = interrupt when less than threshold 1 = interrupt when greater than or equal to threshold 11:0 dcmp2_thr [11:0] 0000_0000 _0000 digital comparator 2 threshold (12-bit unsigned binary number; coding is the same as aux_data) register 4032h comparator 2 register address bit label default description refer to r16435 (4033h) comparator 3 15:13 dcmp3_src [2:0] 000 digital comparator 3 source select 0 = reserved 1 = gpio10 2 = gpio11 3 = gpio12 4 = reserved 5 = chip temperature 6 = reserved 7 = pvdd voltage 12 dcmp3_gt 0 digital comparator 3 interrupt control 0 = interrupt when less than threshold 1 = interrupt when greater than or equal to threshold 11:0 dcmp3_thr [11:0] 0000_0000 _0000 digital comparator 3 threshold (12-bit unsigned binary number; coding is the same as aux_data) register 4033h comparator 3
production data WM8325 w pd, february 2012, rev 4.0 169 register address bit label default description refer to r16436 (4034h) comparator 4 15:13 dcmp4_src [2:0] 000 digital comparator 4 source select 0 = backup battery voltage 1 = gpio10 2 = gpio11 3 = gpio12 4 = reserved 5 = chip temperature 6 = reserved 7 = pvdd voltage 12 dcmp4_gt 0 digital comparator 4 interrupt control 0 = interrupt when less than threshold 1 = interrupt when greater than or equal to threshold 11:0 dcmp4_thr [11:0] 0000_0000 _0000 digital comparator 4 threshold (12-bit unsigned binary number; coding is the same as aux_data) register 4034h comparator 4 register address bit label default description refer to r16440 (4038h) gpio1 control 15 gp1_dir 1 gpio1 pin direction 0 = output 1 = input 14:13 gp1_pull [1:0] 01 gpio1 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp1_int_mod e 0 gpio1 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp1_pol=1) or falling edge triggered (if gp1_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp1_pwr_do m 0 gpio1 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp1_pol 1 gpio1 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp1_od 0 gpio1 output pin configuration 0 = cmos 1 = open drain 7 gp1_ena 0 gpio1 enable control 0 = gpio pin is tri-stated 1 = normal operation
WM8325 production data w pd, february 2012, rev 4.0 170 register address bit label default description refer to 3:0 gp1_fn [3:0] 0000 gpio1 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 4038h gpio1 control register address bit label default description refer to r16441 (4039h) gpio2 control 15 gp2_dir 1 gpio2 pin direction 0 = output 1 = input 14:13 gp2_pull [1:0] 01 gpio2 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp2_int_mod e 0 gpio2 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp2_pol=1) or falling edge triggered (if gp2_pol=0) 1 = gpio interrupt is triggered on rising and falling
production data WM8325 w pd, february 2012, rev 4.0 171 register address bit label default description refer to edges 11 gp2_pwr_do m 0 gpio2 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp2_pol 1 gpio2 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp2_od 0 gpio2 output pin configuration 0 = cmos 1 = open drain 7 gp2_ena 0 gpio2 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp2_fn [3:0] 0000 gpio2 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 4039h gpio2 control
WM8325 production data w pd, february 2012, rev 4.0 172 register address bit label default description refer to r16442 (403ah) gpio3 control 15 gp3_dir 1 gpio3 pin direction 0 = output 1 = input 14:13 gp3_pull [1:0] 01 gpio3 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp3_int_mod e 0 gpio3 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp3_pol=1) or falling edge triggered (if gp3_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp3_pwr_do m 0 gpio3 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp3_pol 1 gpio3 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp3_od 0 gpio3 output pin configuration 0 = cmos 1 = open drain 7 gp3_ena 0 gpio3 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp3_fn [3:0] 0000 gpio3 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved
production data WM8325 w pd, february 2012, rev 4.0 173 register address bit label default description refer to 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 403ah gpio3 control register address bit label default description refer to r16443 (403bh) gpio4 control 15 gp4_dir 1 gpio4 pin direction 0 = output 1 = input 14:13 gp4_pull [1:0] 01 gpio4 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp4_int_mod e 0 gpio4 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp4_pol=1) or falling edge triggered (if gp4_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp4_pwr_do m 0 gpio4 power domain select 0 = dbvdd 1 = pvdd 10 gp4_pol 1 gpio4 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp4_od 0 gpio4 output pin configuration 0 = cmos 1 = open drain 7 gp4_ena 0 gpio4 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp4_fn [3:0] 0000 gpio4 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input
WM8325 production data w pd, february 2012, rev 4.0 174 register address bit label default description refer to 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 403bh gpio4 control register address bit label default description refer to r16444 (403ch) gpio5 control 15 gp5_dir 1 gpio5 pin direction 0 = output 1 = input 14:13 gp5_pull [1:0] 01 gpio5 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp5_int_mod e 0 gpio5 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp5_pol=1) or falling edge triggered (if gp5_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp5_pwr_do m 0 gpio5 power domain select 0 = dbvdd 1 = pvdd 10 gp5_pol 1 gpio5 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp5_od 0 gpio5 output pin configuration 0 = cmos 1 = open drain 7 gp5_ena 0 gpio5 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp5_fn [3:0] 0000 gpio5 pin function input functions:
production data WM8325 w pd, february 2012, rev 4.0 175 register address bit label default description refer to 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 403ch gpio5 control register address bit label default description refer to r16445 (403dh) gpio6 control 15 gp6_dir 1 gpio6 pin direction 0 = output 1 = input 14:13 gp6_pull [1:0] 01 gpio6 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp6_int_mod e 0 gpio6 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp6_pol=1) or falling edge triggered (if gp6_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp6_pwr_do 0 gpio6 power domain select
WM8325 production data w pd, february 2012, rev 4.0 176 register address bit label default description refer to m 0 = dbvdd 1 = pvdd 10 gp6_pol 1 gpio6 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp6_od 0 gpio6 output pin configuration 0 = cmos 1 = open drain 7 gp6_ena 0 gpio6 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp6_fn [3:0] 0000 gpio6 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 403dh gpio6 control
production data WM8325 w pd, february 2012, rev 4.0 177 register address bit label default description refer to r16446 (403eh) gpio7 control 15 gp7_dir 1 gpio7 pin direction 0 = output 1 = input 14:13 gp7_pull [1:0] 01 gpio7 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp7_int_mod e 0 gpio7 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp7_pol=1) or falling edge triggered (if gp7_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp7_pwr_do m 0 gpio7 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp7_pol 1 gpio7 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp7_od 0 gpio7 output pin configuration 0 = cmos 1 = open drain 7 gp7_ena 0 gpio7 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp7_fn [3:0] 0000 gpio7 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved
WM8325 production data w pd, february 2012, rev 4.0 178 register address bit label default description refer to 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 403eh gpio7 control register address bit label default description refer to r16447 (403fh) gpio8 control 15 gp8_dir 1 gpio8 pin direction 0 = output 1 = input 14:13 gp8_pull [1:0] 01 gpio8 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp8_int_mod e 0 gpio8 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp8_pol=1) or falling edge triggered (if gp8_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp8_pwr_do m 0 gpio8 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp8_pol 1 gpio8 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp8_od 0 gpio8 output pin configuration 0 = cmos 1 = open drain 7 gp8_ena 0 gpio8 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp8_fn [3:0] 0000 gpio8 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input
production data WM8325 w pd, february 2012, rev 4.0 179 register address bit label default description refer to 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 403fh gpio8 control register address bit label default description refer to r16448 (4040h) gpio9 control 15 gp9_dir 1 gpio9 pin direction 0 = output 1 = input 14:13 gp9_pull [1:0] 01 gpio9 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp9_int_mod e 0 gpio9 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp9_pol=1) or falling edge triggered (if gp9_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp9_pwr_do m 0 gpio9 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp9_pol 1 gpio9 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp9_od 0 gpio9 output pin configuration 0 = cmos 1 = open drain 7 gp9_ena 0 gpio9 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp9_fn [3:0] 0000 gpio9 pin function input functions:
WM8325 production data w pd, february 2012, rev 4.0 180 register address bit label default description refer to 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 4040h gpio9 control register address bit label default description refer to r16449 (4041h) gpio10 control 15 gp10_dir 1 gpio10 pin direction 0 = output 1 = input 14:13 gp10_pull [1:0] 01 gpio10 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp10_int_mo de 0 gpio10 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp10_pol=1) or falling edge triggered (if gp10_pol=0) 1 = gpio interrupt is triggered on rising and falling edges
production data WM8325 w pd, february 2012, rev 4.0 181 register address bit label default description refer to 11 gp10_pwr_d om 0 gpio10 power domain select 0 = dbvdd 1 = pvdd 10 gp10_pol 1 gpio10 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp10_od 0 gpio10 output pin configuration 0 = cmos 1 = open drain 7 gp10_ena 0 gpio10 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp10_fn [3:0] 0000 gpio10 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 4041h gpio10 control
WM8325 production data w pd, february 2012, rev 4.0 182 register address bit label default description refer to r16450 (4042h) gpio11 control 15 gp11_dir 1 gpio11 pin direction 0 = output 1 = input 14:13 gp11_pull [1:0] 01 gpio11 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp11_int_mo de 0 gpio11 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp11_pol=1) or falling edge triggered (if gp11_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp11_pwr_d om 0 gpio11 power domain select 0 = dbvdd 1 = pvdd 10 gp11_pol 1 gpio11 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp11_od 0 gpio11 output pin configuration 0 = cmos 1 = open drain 7 gp11_ena 0 gpio11 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp11_fn [3:0] 0000 gpio11 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved
production data WM8325 w pd, february 2012, rev 4.0 183 register address bit label default description refer to 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 4042h gpio11 control register address bit label default description refer to r16451 (4043h) gpio12 control 15 gp12_dir 1 gpio12 pin direction 0 = output 1 = input 14:13 gp12_pull [1:0] 01 gpio12 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp12_int_mo de 0 gpio12 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp12_pol=1) or falling edge triggered (if gp12_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp12_pwr_d om 0 gpio12 power domain select 0 = dbvdd 1 = pvdd 10 gp12_pol 1 gpio12 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp12_od 0 gpio12 output pin configuration 0 = cmos 1 = open drain 7 gp12_ena 0 gpio12 enable control 0 = gpio pin is tri-stated 1 = normal operation 3:0 gp12_fn [3:0] 0000 gpio12 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input
WM8325 production data w pd, february 2012, rev 4.0 184 register address bit label default description refer to 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 4043h gpio12 control register address bit label default description refer to r16460 (404ch) status led 1 15:14 led1_src [1:0] 11 led1 source (selects the led1 function.) 00 = off 01 = power state status 10 = reserved 11 = manual mode note - led1 also indicates completion of otp auto program 9:8 led1_mode [1:0] 00 led1 mode (controls led1 in manual mode only.) 00 = off 01 = constant 10 = continuous pulsed 11 = pulsed sequence 5:4 led1_seq_le n [1:0] 10 led1 pulse sequence length (when led1_mode = pulsed sequence) 00 = 1 pulse 01 = 2 pulses 10 = 4 pulses 11 = 7 pulses 3:2 led1_dur [1:0] 01 led1 on time (when led1_mode = continuous pulsed or pulsed sequence) 00 = 1 second 01 = 250ms 10 = 125ms 11 = 62.5ms
production data WM8325 w pd, february 2012, rev 4.0 185 register address bit label default description refer to 1:0 led1_duty_c yc [1:0] 10 led1 duty cycle (on:off ratio) (when led1_mode = continuous pulsed or pulsed sequence) 00 = 1:1 (50% on) 01 = 1:2 (33.3% on) 10 = 1:3 (25% on) 11 = 1:7 (12.5% on) register 404ch status led 1 register address bit label default description refer to r16461 (404dh) status led 2 15:14 led2_src [1:0] 11 led2 source (selects the led2 function.) 00 = off 01 = power state status 10 = reserved 11 = manual mode note - led2 also indicates an otp auto program error condition 9:8 led2_mode [1:0] 00 led2 mode (controls led2 in manual mode only.) 00 = off 01 = constant 10 = continuous pulsed 11 = pulsed sequence 5:4 led2_seq_le n [1:0] 10 led2 pulse sequence length (when led2_mode = pulsed sequence) 00 = 1 pulse 01 = 2 pulses 10 = 4 pulses 11 = 7 pulses 3:2 led2_dur [1:0] 01 led2 on time (when led2_mode = continuous pulsed or pulsed sequence) 00 = 1 second 01 = 250ms 10 = 125ms 11 = 62.5ms 1:0 led2_duty_c yc [1:0] 10 led2 duty cycle (on:off ratio) (when led2_mode = continuous pulsed or pulsed sequence) 00 = 1:1 (50% on) 01 = 1:2 (33.3% on) 10 = 1:3 (25% on) 11 = 1:7 (12.5% on) register 404dh status led 2
WM8325 production data w pd, february 2012, rev 4.0 186 register address bit label default description refer to r16464 (4050h) dcdc enable 7 epe2_ena 0 epe2 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in epe2_sts) 6 epe1_ena 0 epe1 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in epe1_sts) 3 dc4_ena 0 dc-dc4 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in dc4_sts) 2 dc3_ena 0 dc-dc3 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in dc3_sts) 1 dc2_ena 0 dc-dc2 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in dc2_sts) 0 dc1_ena 0 dc_dc1 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in dc1_sts) register 4050h dcdc enable register address bit label default description refer to r16465 (4051h) ldo enable 10 ldo11_ena 0 ldo11 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo11_sts) 9 ldo10_ena 0 ldo10 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo10_sts) 8 ldo9_ena 0 ldo9 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo9_sts) 7 ldo8_ena 0 ldo8 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo8_sts) 6 ldo7_ena 0 ldo7 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo7_sts) 5 ldo6_ena 0 ldo6 enable request 0 = disabled 1 = enabled
production data WM8325 w pd, february 2012, rev 4.0 187 register address bit label default description refer to (note that the actual status is indicated in ldo6_sts) 4 ldo5_ena 0 ldo5 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo5_sts) 3 ldo4_ena 0 ldo4 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo4_sts) 2 ldo3_ena 0 ldo3 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo3_sts) 1 ldo2_ena 0 ldo2 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo2_sts) 0 ldo1_ena 0 ldo1 enable request 0 = disabled 1 = enabled (note that the actual status is indicated in ldo1_sts) register 4051h ldo enable register address bit label default description refer to r16466 (4052h) dcdc status 7 epe2_sts 0 epe2 status 0 = disabled 1 = enabled 6 epe1_sts 0 epe1 status 0 = disabled 1 = enabled 3 dc4_sts 0 dc-dc4 status 0 = disabled 1 = enabled 2 dc3_sts 0 dc-dc3 status 0 = disabled 1 = enabled 1 dc2_sts 0 dc-dc2 status 0 = disabled 1 = enabled 0 dc1_sts 0 dc-dc1 status 0 = disabled 1 = enabled register 4052h dcdc status
WM8325 production data w pd, february 2012, rev 4.0 188 register address bit label default description refer to r16467 (4053h) ldo status 10 ldo11_sts 0 ldo11 status 0 = disabled 1 = enabled 9 ldo10_sts 0 ldo10 status 0 = disabled 1 = enabled 8 ldo9_sts 0 ldo9 status 0 = disabled 1 = enabled 7 ldo8_sts 0 ldo8 status 0 = disabled 1 = enabled 6 ldo7_sts 0 ldo7 status 0 = disabled 1 = enabled 5 ldo6_sts 0 ldo6 status 0 = disabled 1 = enabled 4 ldo5_sts 0 ldo5 status 0 = disabled 1 = enabled 3 ldo4_sts 0 ldo4 status 0 = disabled 1 = enabled 2 ldo3_sts 0 ldo3 status 0 = disabled 1 = enabled 1 ldo2_sts 0 ldo2 status 0 = disabled 1 = enabled 0 ldo1_sts 0 ldo1 status 0 = disabled 1 = enabled register 4053h ldo status register address bit label default description refer to r16468 (4054h) dcdc uv status 13 dc2_ov_sts 0 dc-dc2 overvoltage status 0 = normal 1 = overvoltage 12 dc1_ov_sts 0 dc-dc1 overvoltage status 0 = normal 1 = overvoltage 9 dc2_hc_sts 0 dc-dc2 high current status 0 = normal 1 = high current 8 dc1_hc_sts 0 dc-dc1 high current status 0 = normal 1 = high current 3 dc4_uv_sts 0 dc-dc4 undervoltage status 0 = normal
production data WM8325 w pd, february 2012, rev 4.0 189 register address bit label default description refer to 1 = undervoltage 2 dc3_uv_sts 0 dc-dc3 undervoltage status 0 = normal 1 = undervoltage 1 dc2_uv_sts 0 dc-dc2 undervoltage status 0 = normal 1 = undervoltage 0 dc1_uv_sts 0 dc-dc1 undervoltage status 0 = normal 1 = undervoltage register 4054h dcdc uv status register address bit label default description refer to r16469 (4055h) ldo uv status 15 intldo_uv_s ts 0 ldo13 (internal ldo) undervoltage status 0 = normal 1 = undervoltage 9 ldo10_uv_st s 0 ldo10 undervoltage status 0 = normal 1 = undervoltage 8 ldo9_uv_st s 0 ldo9 undervoltage status 0 = normal 1 = undervoltage 7 ldo8_uv_st s 0 ldo8 undervoltage status 0 = normal 1 = undervoltage 6 ldo7_uv_st s 0 ldo7 undervoltage status 0 = normal 1 = undervoltage 5 ldo6_uv_st s 0 ldo6 undervoltage status 0 = normal 1 = undervoltage 4 ldo5_uv_st s 0 ldo5 undervoltage status 0 = normal 1 = undervoltage 3 ldo4_uv_st s 0 ldo4 undervoltage status 0 = normal 1 = undervoltage 2 ldo3_uv_st s 0 ldo3 undervoltage status 0 = normal 1 = undervoltage 1 ldo2_uv_st s 0 ldo2 undervoltage status 0 = normal 1 = undervoltage 0 ldo1_uv_st s 0 ldo1 undervoltage status 0 = normal 1 = undervoltage register 4055h ldo uv status
WM8325 production data w pd, february 2012, rev 4.0 190 register address bit label default description refer to r16470 (4056h) dc1 control 1 15:14 dc1_rate [1:0] 10 dc-dc1 voltage ramp rate 00 = 1 step every 32us 01 = 1 step every 16us 10 = 1 step every 8us 11 = immediate voltage change 12 dc1_phase 0 dc-dc1 clock phase control 0 = normal 1 = inverted 9:8 dc1_freq [1:0] 00 dc-dc1 switching frequency 00 = reserved 01 = 2.0mhz (2.2uh output inductor) 10 = 4.0mhz (1uh output inductor) 11 = 4.0mhz (0.5uh output inductor) this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 7 dc1_flt 0 dc-dc1 output float 0 = dc-dc1 output discharged when disabled 1 = dc-dc1 output floating when disabled 5:4 dc1_soft_st art [1:0] 00 dc-dc1 soft-start control (duration in each of the 8 startup current limiting steps.) 00 = 32us steps 01 = 64us steps 10 = 128us steps 11 = 256us steps 1:0 dc1_cap [1:0] 00 dc-dc1 output capacitor 00 = 4.7uf to 20uf 01 = reserved 10 = 22uf to 47uf 11 = reserved this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. register 4056h dc1 control 1 register address bit label default description refer to r16471 (4057h) dc1 control 2 15:14 dc1_err_ac t [1:0] 00 dc-dc1 error action (undervoltage) 00 = ignore 01 = shut down converter 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 dc1_hwc_sr c [1:0] 00 dc-dc1 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 dc1_hwc_vs el 0 dc-dc1 hardware control voltage select 0 = set by dc1_on_vsel 1 = set by dc1_slp_vsel 9:8 dc1_hwc_m 11 dc-dc1 hardware control operating mode
production data WM8325 w pd, february 2012, rev 4.0 191 register address bit label default description refer to ode [1:0] 00 = forced continuous conduction mode 01 = disabled 10 = ldo mode 11 = hysteretic mode 6:4 dc1_hc_thr [2:0] 000 dc-dc1 high current threshold 000 = 125ma 001 = 250ma 010 = 375ma 011 = 500ma 100 = 625ma 101 = 750ma 110 = 875ma 111 = 1000ma 0 dc1_hc_ind_ ena 0 dc-dc1 high current detect enable 0 = disabled 1 = enabled register 4057h dc1 control 2 register address bit label default description refer to r16472 (4058h) dc1 on config 15:13 dc1_on_slo t [2:0] 000 dc-dc1 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 9:8 dc1_on_mod e [1:0] 01 dc-dc1 on operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse-skipping) 10 = ldo mode 11 = hysteretic mode 6:2 dc1_on_vse l [6:2] 0_0000 dc-dc1 on voltage select dc1_on_vsel [6:0] selects the dc-dc1 output voltage from 0.6v to 1.8v in 12.5mv steps. dc1_on_vsel [6:2] also exist in ice/otp memory, controlling the voltage in 50mv steps. dc1_on_vsel [6:0] is coded as follows: 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v).
WM8325 production data w pd, february 2012, rev 4.0 192 register address bit label default description refer to 1:0 dc1_on_vse l [1:0] 00 dc-dc1 on voltage select dc1_on_vsel [6:0] selects the dc-dc1 output voltage from 0.6v to 1.8v in 12.5mv steps. see dc1_on_vsel [6:2] for definition. register 4058h dc1 on config register address bit label default description refer to r16473 (4059h) dc1 sleep control 15:13 dc1_slp_slo t [2:0] 000 dc-dc1 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if dc-dc1 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the converter enters its sleep condition. 9:8 dc1_slp_mo de [1:0] 11 dc-dc1 sleep operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse-skipping) 10 = ldo mode 11 = hysteretic mode 6:0 dc1_slp_vse l [6:0] 000_0000 dc-dc1 sleep voltage select 0.6v to 1.8v in 12.5mv steps 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). register 4059h dc1 sleep control register address bit label default description refer to r16474 (405ah) dc1 dvs control 12:11 dc1_dvs_sr c [1:0] 00 dc-dc1 dvs control source 00 = disabled 01 = enabled 10 = controlled by hardware dvs1 11 = controlled by hardware dvs2
production data WM8325 w pd, february 2012, rev 4.0 193 register address bit label default description refer to 6:0 dc1_dvs_vs el [6:0] 000_0000 dc-dc1 dvs voltage select 0.6v to 1.8v in 12.5mv steps 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). register 405ah dc1 dvs control register address bit label default description refer to r16475 (405bh) dc2 control 1 15:14 dc2_rate [1:0] 10 dc-dc2 voltage ramp rate 00 = 1 step every 32us 01 = 1 step every 16us 10 = 1 step every 8us 11 = immediate voltage change 12 dc2_phase 1 dc-dc2 clock phase control 0 = normal 1 = inverted 9:8 dc2_freq [1:0] 00 dc-dc2 switching frequency 00 = reserved 01 = 2.0mhz (2.2uh output inductor) 10 = 4.0mhz (1uh output inductor) 11 = reserved this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 7 dc2_flt 0 dc-dc2 output float 0 = dc-dc2 output discharged when disabled 1 = dc-dc2 output floating when disabled 5:4 dc2_soft_st art [1:0] 00 dc-dc2 soft-start control (duration in each of the 8 startup current limiting steps.) 00 = 32us steps 01 = 64us steps 10 = 128us steps 11 = 256us steps 1:0 dc2_cap [1:0] 00 dc-dc2 output capacitor 00 = reserved 01 = reserved 10 = 22uf to 47uf 11 = reserved this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. register 405bh dc2 control 1
WM8325 production data w pd, february 2012, rev 4.0 194 register address bit label default description refer to r16476 (405ch) dc2 control 2 15:14 dc2_err_ac t [1:0] 00 dc-dc2 error action (undervoltage) 00 = ignore 01 = shut down converter 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 dc2_hwc_sr c [1:0] 00 dc-dc2 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 dc2_hwc_vs el 0 dc-dc2 hardware control voltage select 0 = set by dc2_on_vsel 1 = set by dc2_slp_vsel 9:8 dc2_hwc_m ode [1:0] 11 dc-dc2 hardware control operating mode 00 = forced continuous conduction mode 01 = disabled 10 = ldo mode 11 = hysteretic mode 6:4 dc2_hc_thr [2:0] 000 dc-dc2 high current threshold 000 = 250ma 001 = 500ma 010 = 750ma 011 = 1000ma 100 = 1250ma 101 = 1500ma 110 = 1750ma 111 = 2000ma 0 dc2_hc_ind_ ena 0 dc-dc2 high current detect enable 0 = disabled 1 = enabled register 405ch dc2 control 2 register address bit label default description refer to r16477 (405dh) dc2 on config 15:13 dc2_on_slo t [2:0] 000 dc-dc2 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 9:8 dc2_on_mod e [1:0] 01 dc-dc2 on operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse-skipping) 10 = ldo mode 11 = hysteretic mode 6:2 dc2_on_vse l [6:2] 0_0000 dc-dc2 on voltage select
production data WM8325 w pd, february 2012, rev 4.0 195 register address bit label default description refer to dc2_on_vsel [6:0] selects the dc-dc2 output voltage from 0.6v to 1.8v in 12.5mv steps. dc2_on_vsel [6:2] also exist in ice/otp memory, controlling the voltage in 50mv steps. dc2_on_vsel [6:0] is coded as follows: 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). 1:0 dc2_on_vse l [1:0] 00 dc-dc2 on voltage select dc2_on_vsel [6:0] selects the dc-dc2 output voltage from 0.6v to 1.8v in 12.5mv steps. see dc2_on_vsel [6:2] for definition. register 405dh dc2 on config register address bit label default description refer to r16478 (405eh) dc2 sleep control 15:13 dc2_slp_slo t [2:0] 000 dc-dc2 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if dc-dc2 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the converter enters its sleep condition. 9:8 dc2_slp_mo de [1:0] 11 dc-dc2 sleep operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse-skipping) 10 = ldo mode 11 = hysteretic mode 6:0 dc2_slp_vse l [6:0] 000_0000 dc-dc2 sleep voltage select 0.6v to 1.8v in 12.5mv steps 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v
WM8325 production data w pd, february 2012, rev 4.0 196 register address bit label default description refer to 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). register 405eh dc2 sleep control register address bit label default description refer to r16479 (405fh) dc2 dvs control 12:11 dc2_dvs_sr c [1:0] 00 dc-dc2 dvs control source 00 = disabled 01 = enabled 10 = controlled by hardware dvs1 11 = controlled by hardware dvs2 6:0 dc2_dvs_vs el [6:0] 000_0000 dc-dc2 dvs voltage select 0.6v to 1.8v in 12.5mv steps 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). register 405fh dc2 dvs control register address bit label default description refer to r16480 (4060h) dc3 control 1 12 dc3_phase 0 dc-dc3 clock phase control 0 = normal 1 = inverted 7 dc3_flt 0 dc-dc3 output float 0 = dc-dc3 output discharged when disabled 1 = dc-dc3 output floating when disabled 5:4 dc3_soft_st art [1:0] 01 dc-dc3 soft-start control (duration in each of the 3 intermediate startup current limiting steps.) 00 = immediate start-up 01 = 512us steps 10 = 4.096ms steps 11 = 32.768ms steps 3:2 dc3_stnby_l im [1:0] 01 dc-dc3 current limit sets the maximum dc output current in hysteretic mode. 00 = 50ma 01 = 100ma 10 = 200ma 11 = 400ma protected by security key.
production data WM8325 w pd, february 2012, rev 4.0 197 register address bit label default description refer to 1:0 dc3_cap [1:0] 00 dc-dc3 output capacitor 00 = 10uf to 20uf 01 = 10uf to 20uf 10 = 22uf to 45uf 11 = 47uf to 100uf this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. register 4060h dc3 control 1 register address bit label default description refer to r16481 (4061h) dc3 control 2 15:14 dc3_err_ac t [1:0] 00 dc-dc3 error action (undervoltage) 00 = ignore 01 = shut down converter 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 dc3_hwc_sr c [1:0] 00 dc-dc3 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 dc3_hwc_vs el 0 dc-dc3 hardware control voltage select 0 = set by dc3_on_vsel 1 = set by dc3_slp_vsel 9:8 dc3_hwc_m ode [1:0] 11 dc-dc3 hardware control operating mode 00 = forced continuous conduction mode 01 = disabled 10 = ldo mode 11 = hysteretic mode 7 dc3_ovp 0 dc-dc3 overvoltage protection 0 = disabled 1 = enabled register 4061h dc3 control 2 register address bit label default description refer to r16482 (4062h) dc3 on config 15:13 dc3_on_slo t [2:0] 000 dc-dc3 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 9:8 dc3_on_mod e [1:0] 01 dc-dc3 on operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse-skipping) 10 = ldo mode 11 = hysteretic mode
WM8325 production data w pd, february 2012, rev 4.0 198 register address bit label default description refer to 6:2 dc3_on_vse l [6:2] 0_0000 dc-dc3 on voltage select dc3_on_vsel [6:0] selects the dc-dc3 output voltage from 0.85v to 3.4v in 25mv steps. dc3_on_vsel [6:2] also exist in ice/otp memory, controlling the voltage in 100mv steps. dc3_on_vsel [6:0] is coded as follows: 00h = 0.85v 01h = 0.875v ? 65h = 3.375v 66h to 7fh = 3.4v 1:0 dc3_on_vse l [1:0] 00 dc-dc3 on voltage select dc3_on_vsel [6:0] selects the dc-dc3 output voltage from 0.85v to 3.4v in 25mv steps. see dc3_on_vsel [6:2] for definition. register 4062h dc3 on config register address bit label default description refer to r16483 (4063h) dc3 sleep control 15:13 dc3_slp_slo t [2:0] 000 dc-dc3 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if dc-dc3 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the converter enters its sleep condition. 9:8 dc3_slp_mo de [1:0] 11 dc-dc3 sleep operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse-skipping) 10 = ldo mode 11 = hysteretic mode 6:0 dc3_slp_vse l [6:0] 000_0000 dc-dc3 sleep voltage select 0.85v to 3.4v in 25mv steps 00h = 0.85v 01h = 0.875v ? 65h = 3.375v 66h to 7fh = 3.4v register 4063h dc3 sleep control
production data WM8325 w pd, february 2012, rev 4.0 199 register address bit label default description refer to r16484 (4064h) dc4 control 1 13 dc4_slv 0 dc-dc4 slave mode select 0 = disabled 1 = enabled dc4_slv = 1, then dc-dc4 is a slave to dc-dc3, and both converters are controlled by the dc-dc3 registers. this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 12 dc4_phase 0 dc-dc4 clock phase control 0 = normal 1 = inverted 7 dc4_flt 0 dc-dc4 output float 0 = dc-dc4 output discharged when disabled 1 = dc-dc4 output floating when disabled 5:4 dc4_soft_st art [1:0] 01 dc-dc4 soft-start control (duration in each of the 3 intermediate startup current limiting steps.) 00 = immediate start-up 01 = 512us steps 10 = 4.096ms steps 11 = 32.768ms steps 3:2 dc4_stnby_l im [1:0] 01 dc-dc4 current limit sets the maximum dc output current in hysteretic mode. 00 = 50ma 01 = 100ma 10 = 200ma 11 = 400ma protected by security key. 1:0 dc4_cap [1:0] 00 dc-dc4 output capacitor 00 = 10uf to 20uf 01 = 10uf to 20uf 10 = 22uf to 45uf 11 = 47uf to 100uf this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. register 4064h dc4 control 1 register address bit label default description refer to r16485 (4065h) dc4 control 2 15:14 dc4_err_ac t [1:0] 00 dc-dc4 error action (undervoltage) 00 = ignore 01 = shut down converter 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 dc4_hwc_sr c [1:0] 00 dc-dc4 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2
WM8325 production data w pd, february 2012, rev 4.0 200 register address bit label default description refer to 10 dc4_hwc_vs el 0 dc-dc4 hardware control voltage select 0 = set by dc4_on_vsel 1 = set by dc4_slp_vsel 9:8 dc4_hwc_m ode [1:0] 11 dc-dc4 hardware control operating mode 00 = forced continuous conduction mode 01 = disabled 10 = ldo mode 11 = hysteretic mode 7 dc4_ovp 0 dc-dc4 overvoltage protection 0 = disabled 1 = enabled register 4065h dc4 control 2 register address bit label default description refer to r16486 (4066h) dc4 on config 15:13 dc4_on_slo t [2:0] 000 dc-dc4 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 9:8 dc4_on_mod e [1:0] 01 dc-dc4 on operating mode 00 = forced continuous conduction mode 01 = auto mode (continuous / discontinuous conduction with pulse-skipping) 10 = ldo mode 11 = hysteretic mode 6:2 dc4_on_vse l [6:2] 0_0000 dc-dc4 on voltage select dc4_on_vsel [6:0] selects the dc-dc4 output voltage from 0.85v to 3.4v in 25mv steps. dc4_on_vsel [6:2] also exist in ice/otp memory, controlling the voltage in 100mv steps. dc4_on_vsel [6:0] is coded as follows: 00h = 0.85v 01h = 0.875v ? 65h = 3.375v 66h to 7fh = 3.4v 1:0 dc4_on_vse l [1:0] 00 dc-dc4 on voltage select dc4_on_vsel [6:0] selects the dc-dc4 output voltage from 0.85v to 3.4v in 25mv steps. see dc4_on_vsel [6:2] for definition. register 4066h dc4 on config
production data WM8325 w pd, february 2012, rev 4.0 201 register address bit label default description refer to r16487 (4067h) dc4 sleep control 15:13 dc4_slp_slo t [2:0] 000 dc-dc4 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if dc-dc4 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the converter enters its sleep condition. 9:8 dc4_slp_mo de [1:0] 11 dc-dc4 sleep operating mode 00 = forced continuous conduction mode 01 = continuous / discontinuous conduction with pulse-skipping 10 = ldo mode 11 = hysteretic mode 6:0 dc4_slp_vse l [6:0] 000_0000 dc-dc4 sleep voltage select 0.85v to 3.4v in 25mv steps 00h = 0.85v 01h = 0.875v ? 65h = 3.375v 66h to 7fh = 3.4v register 4067h dc4 sleep control register address bit label default description refer to r16488 (4068h) ldo1 control 15:14 ldo1_err_a ct [1:0] 00 ldo1 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo1_hwc_s rc [1:0] 00 ldo1 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo1_hwc_v sel 0 ldo1 hardware control voltage select 0 = set by ldo1_on_vsel 1 = set by ldo1_slp_vsel 9:8 ldo1_hwc_m ode [1:0] 10 ldo1 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo1_on_mode
WM8325 production data w pd, february 2012, rev 4.0 202 register address bit label default description refer to 7 ldo1_flt 0 ldo1 output float 0 = ldo1 output discharged when disabled 1 = ldo1 output floating when disabled 6 ldo1_swi 0 ldo1 switch mode 0 = ldo mode 1 = switch mode 0 ldo1_lp_mo de 0 ldo1 low power mode select 0 = 50ma (reduced quiescent current) 1 = 20ma (minimum quiescent current) selects which low power mode is used in on, sleep, or under hwc modes. register 4068h ldo1 control register address bit label default description refer to r16489 (4069h) ldo1 on control 15:13 ldo1_on_sl ot [2:0] 000 ldo1 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo1_on_mo de 0 ldo1 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo1_on_vs el [4:0] 0_0000 ldo1 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 4069h ldo1 on control register address bit label default description refer to r16490 (406ah) ldo1 sleep control 15:13 ldo1_slp_sl ot [2:0] 000 ldo1 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2
production data WM8325 w pd, february 2012, rev 4.0 203 register address bit label default description refer to 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo1 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo1_slp_m ode 1 ldo1 sleep operating mode 0 = normal mode 1 = low power mode 4:0 ldo1_slp_vs el [4:0] 0_0000 ldo1 sleep voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 406ah ldo1 sleep control register address bit label default description refer to r16491 (406bh) ldo2 control 15:14 ldo2_err_a ct [1:0] 00 ldo2 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo2_hwc_s rc [1:0] 00 ldo2 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo2_hwc_v sel 0 ldo2 hardware control voltage select 0 = set by ldo2_on_vsel 1 = set by ldo2_slp_vsel 9:8 ldo2_hwc_m ode [1:0] 10 ldo2 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo2_on_mode 7 ldo2_flt 0 ldo2 output float 0 = ldo2 output discharged when disabled 1 = ldo2 output floating when disabled 6 ldo2_swi 0 ldo2 switch mode 0 = ldo mode 1 = switch mode
WM8325 production data w pd, february 2012, rev 4.0 204 register address bit label default description refer to 0 ldo2_lp_mo de 0 ldo2 low power mode select 0 = 50ma (reduced quiescent current) 1 = 20ma (minimum quiescent current) selects which low power mode is used in on, sleep, or under hwc modes. register 406bh ldo2 control register address bit label default description refer to r16492 (406ch) ldo2 on control 15:13 ldo2_on_sl ot [2:0] 000 ldo2 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo2_on_mo de 0 ldo2 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo2_on_vs el [4:0] 0_0000 ldo2 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 406ch ldo2 on control register address bit label default description refer to r16493 (406dh) ldo2 sleep control 15:13 ldo2_slp_sl ot [2:0] 000 ldo2 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo2 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator
production data WM8325 w pd, february 2012, rev 4.0 205 register address bit label default description refer to enters its sleep condition. 8 ldo2_slp_m ode 1 ldo2 sleep operating mode 0 = normal mode 1 = low power mode 4:0 ldo2_slp_vs el [4:0] 0_0000 ldo2 sleep voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 406dh ldo2 sleep control register address bit label default description refer to r16494 (406eh) ldo3 control 15:14 ldo3_err_a ct [1:0] 00 ldo3 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo3_hwc_s rc [1:0] 00 ldo3 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo3_hwc_v sel 0 ldo3 hardware control voltage select 0 = set by ldo3_on_vsel 1 = set by ldo3_slp_vsel 9:8 ldo3_hwc_m ode [1:0] 10 ldo3 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo3_on_mode 7 ldo3_flt 0 ldo3 output float 0 = ldo3 output discharged when disabled 1 = ldo3 output floating when disabled 6 ldo3_swi 0 ldo3 switch mode 0 = ldo mode 1 = switch mode 0 ldo3_lp_mo de 0 ldo3 low power mode select 0 = 50ma (reduced quiescent current) 1 = 20ma (minimum quiescent current) selects which low power mode is used in on, sleep, or under hwc modes. register 406eh ldo3 control
WM8325 production data w pd, february 2012, rev 4.0 206 register address bit label default description refer to r16495 (406fh) ldo3 on control 15:13 ldo3_on_sl ot [2:0] 000 ldo3 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo3_on_mo de 0 ldo3 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo3_on_vs el [4:0] 0_0000 ldo3 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 406fh ldo3 on control register address bit label default description refer to r16496 (4070h) ldo3 sleep control 15:13 ldo3_slp_sl ot [2:0] 000 ldo3 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo3 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo3_slp_m ode 1 ldo3 sleep operating mode 0 = normal mode 1 = low power mode
production data WM8325 w pd, february 2012, rev 4.0 207 register address bit label default description refer to 4:0 ldo3_slp_vs el [4:0] 0_0000 ldo3 sleep voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 4070h ldo3 sleep control register address bit label default description refer to r16497 (4071h) ldo4 control 15:14 ldo4_err_a ct [1:0] 00 ldo4 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo4_hwc_s rc [1:0] 00 ldo4 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo4_hwc_v sel 0 ldo4 hardware control voltage select 0 = set by ldo4_on_vsel 1 = set by ldo4_slp_vsel 9:8 ldo4_hwc_m ode [1:0] 10 ldo4 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo4_on_mode 7 ldo4_flt 0 ldo4 output float 0 = ldo4 output discharged when disabled 1 = ldo4 output floating when disabled 6 ldo4_swi 0 ldo4 switch mode 0 = ldo mode 1 = switch mode 0 ldo4_lp_mo de 0 ldo4 low power mode select 0 = 50ma (reduced quiescent current) 1 = 20ma (minimum quiescent current) selects which low power mode is used in on, sleep, or under hwc modes. register 4071h ldo4 control
WM8325 production data w pd, february 2012, rev 4.0 208 register address bit label default description refer to r16498 (4072h) ldo4 on control 15:13 ldo4_on_sl ot [2:0] 000 ldo4 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo4_on_mo de 0 ldo4 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo4_on_vs el [4:0] 0_0000 ldo4 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 4072h ldo4 on control register address bit label default description refer to r16499 (4073h) ldo4 sleep control 15:13 ldo4_slp_sl ot [2:0] 000 ldo4 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo4 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo4_slp_m ode 1 ldo4 sleep operating mode 0 = normal mode 1 = low power mode
production data WM8325 w pd, february 2012, rev 4.0 209 register address bit label default description refer to 4:0 ldo4_slp_vs el [4:0] 0_0000 ldo4 sleep voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 4073h ldo4 sleep control register address bit label default description refer to r16500 (4074h) ldo5 control 15:14 ldo5_err_a ct [1:0] 00 ldo5 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo5_hwc_s rc [1:0] 00 ldo5 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo5_hwc_v sel 0 ldo5 hardware control voltage select 0 = set by ldo5_on_vsel 1 = set by ldo5_slp_vsel 9:8 ldo5_hwc_m ode [1:0] 10 ldo5 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo5_on_mode 7 ldo5_flt 0 ldo5 output float 0 = ldo5 output discharged when disabled 1 = ldo5 output floating when disabled 6 ldo5_swi 0 ldo5 switch mode 0 = ldo mode 1 = switch mode 0 ldo5_lp_mo de 0 ldo5 low power mode select 0 = 50ma (reduced quiescent current) 1 = 20ma (minimum quiescent current) selects which low power mode is used in on, sleep, or under hwc modes. register 4074h ldo5 control
WM8325 production data w pd, february 2012, rev 4.0 210 register address bit label default description refer to r16501 (4075h) ldo5 on control 15:13 ldo5_on_sl ot [2:0] 000 ldo5 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo5_on_mo de 0 ldo5 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo5_on_vs el [4:0] 0_0000 ldo5 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 4075h ldo5 on control register address bit label default description refer to r16502 (4076h) ldo5 sleep control 15:13 ldo5_slp_sl ot [2:0] 000 ldo5 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo5 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo5_slp_m ode 1 ldo5 sleep operating mode 0 = normal mode 1 = low power mode
production data WM8325 w pd, february 2012, rev 4.0 211 register address bit label default description refer to 4:0 ldo5_slp_vs el [4:0] 0_0000 ldo5 sleep voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 4076h ldo5 sleep control register address bit label default description refer to r16503 (4077h) ldo6 control 15:14 ldo6_err_a ct [1:0] 00 ldo6 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo6_hwc_s rc [1:0] 00 ldo6 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo6_hwc_v sel 0 ldo6 hardware control voltage select 0 = set by ldo6_on_vsel 1 = set by ldo6_slp_vsel 9:8 ldo6_hwc_m ode [1:0] 10 ldo6 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo6_on_mode 7 ldo6_flt 0 ldo6 output float 0 = ldo6 output discharged when disabled 1 = ldo6 output floating when disabled 6 ldo6_swi 0 ldo6 switch mode 0 = ldo mode 1 = switch mode 0 ldo6_lp_mo de 0 ldo6 low power mode select 0 = 50ma (reduced quiescent current) 1 = 20ma (minimum quiescent current) selects which low power mode is used in on, sleep, or under hwc modes. register 4077h ldo6 control
WM8325 production data w pd, february 2012, rev 4.0 212 register address bit label default description refer to r16504 (4078h) ldo6 on control 15:13 ldo6_on_sl ot [2:0] 000 ldo6 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo6_on_mo de 0 ldo6 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo6_on_vs el [4:0] 0_0000 ldo6 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 4078h ldo6 on control register address bit label default description refer to r16505 (4079h) ldo6 sleep control 15:13 ldo6_slp_sl ot [2:0] 000 ldo6 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo6 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo6_slp_m ode 1 ldo6 sleep operating mode 0 = normal mode 1 = low power mode
production data WM8325 w pd, february 2012, rev 4.0 213 register address bit label default description refer to 4:0 ldo6_slp_vs el [4:0] 0_0000 ldo6 sleep voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 4079h ldo6 sleep control register address bit label default description refer to r16506 (407ah) ldo7 control 15:14 ldo7_err_a ct [1:0] 00 ldo7 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo7_hwc_s rc [1:0] 00 ldo7 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo7_hwc_v sel 0 ldo7 hardware control voltage select 0 = set by ldo7_on_vsel 1 = set by ldo7_slp_vsel 9:8 ldo7_hwc_m ode [1:0] 10 ldo7 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo7_on_mode 7 ldo7_flt 0 ldo7 output float 0 = ldo7 output discharged when disabled 1 = ldo7 output floating when disabled 6 ldo7_swi 0 ldo7 switch mode 0 = ldo mode 1 = switch mode register 407ah ldo7 control
WM8325 production data w pd, february 2012, rev 4.0 214 register address bit label default description refer to r16507 (407bh) ldo7 on control 15:13 ldo7_on_sl ot [2:0] 000 ldo7 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo7_on_mo de 0 ldo7 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo7_on_vs el [4:0] 0_0000 ldo7 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 407bh ldo7 on control register address bit label default description refer to r16508 (407ch) ldo7 sleep control 15:13 ldo7_slp_sl ot [2:0] 000 ldo7 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo7 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo7_slp_m ode 1 ldo7 sleep operating mode 0 = normal mode 1 = low power mode
production data WM8325 w pd, february 2012, rev 4.0 215 register address bit label default description refer to 4:0 ldo7_slp_vs el [4:0] 0_0000 ldo7 sleep voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 407ch ldo7 sleep control register address bit label default description refer to r16509 (407dh) ldo8 control 15:14 ldo8_err_a ct [1:0] 00 ldo8 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo8_hwc_s rc [1:0] 00 ldo8 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo8_hwc_v sel 0 ldo8 hardware control voltage select 0 = set by ldo8_on_vsel 1 = set by ldo8_slp_vsel 9:8 ldo8_hwc_m ode [1:0] 10 ldo8 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo8_on_mode 7 ldo8_flt 0 ldo8 output float 0 = ldo8 output discharged when disabled 1 = ldo8 output floating when disabled 6 ldo8_swi 0 ldo8 switch mode 0 = ldo mode 1 = switch mode register 407dh ldo8 control
WM8325 production data w pd, february 2012, rev 4.0 216 register address bit label default description refer to r16510 (407eh) ldo8 on control 15:13 ldo8_on_sl ot [2:0] 000 ldo8 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo8_on_mo de 0 ldo8 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo8_on_vs el [4:0] 0_0000 ldo8 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 407eh ldo8 on control register address bit label default description refer to r16511 (407fh) ldo8 sleep control 15:13 ldo8_slp_sl ot [2:0] 000 ldo8 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo8 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo8_slp_m ode 1 ldo8 sleep operating mode 0 = normal mode 1 = low power mode
production data WM8325 w pd, february 2012, rev 4.0 217 register address bit label default description refer to 4:0 ldo8_slp_vs el [4:0] 0_0000 ldo8 sleep voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 407fh ldo8 sleep control register address bit label default description refer to r16512 (4080h) ldo9 control 15:14 ldo9_err_a ct [1:0] 00 ldo9 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo9_hwc_s rc [1:0] 00 ldo9 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo9_hwc_v sel 0 ldo9 hardware control voltage select 0 = set by ldo9_on_vsel 1 = set by ldo9_slp_vsel 9:8 ldo9_hwc_m ode [1:0] 10 ldo9 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo9_on_mode 7 ldo9_flt 0 ldo9 output float 0 = ldo9 output discharged when disabled 1 = ldo9 output floating when disabled 6 ldo9_swi 0 ldo9 switch mode 0 = ldo mode 1 = switch mode register 4080h ldo9 control
WM8325 production data w pd, february 2012, rev 4.0 218 register address bit label default description refer to r16513 (4081h) ldo9 on control 15:13 ldo9_on_sl ot [2:0] 000 ldo9 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo9_on_mo de 0 ldo9 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo9_on_vs el [4:0] 0_0000 ldo9 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 4081h ldo9 on control register address bit label default description refer to r16514 (4082h) ldo9 sleep control 15:13 ldo9_slp_sl ot [2:0] 000 ldo9 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo9 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo9_slp_m ode 1 ldo9 sleep operating mode 0 = normal mode 1 = low power mode
production data WM8325 w pd, february 2012, rev 4.0 219 register address bit label default description refer to 4:0 ldo9_slp_vs el [4:0] 0_0000 ldo9 sleep voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 4082h ldo9 sleep control register address bit label default description refer to r16515 (4083h) ldo10 control 15:14 ldo10_err_ act [1:0] 00 ldo10 error action (undervoltage) 00 = ignore 01 = shut down regulator 10 = shut down system (device reset) 11 = reserved note that an interrupt is always raised. 12:11 ldo10_hwc_ src [1:0] 00 ldo10 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 10 ldo10_hwc_ vsel 0 ldo10 hardware control voltage select 0 = set by ldo10_on_vsel 1 = set by ldo10_slp_vsel 9:8 ldo10_hwc_ mode [1:0] 10 ldo10 hardware control operating mode 00 = low power mode 01 = turn converter off 10 = low power mode 11 = set by ldo10_on_mode 7 ldo10_flt 0 ldo10 output float 0 = ldo10 output discharged when disabled 1 = ldo10 output floating when disabled 6 ldo10_swi 0 ldo10 switch mode 0 = ldo mode 1 = switch mode register 4083h ldo10 control
WM8325 production data w pd, february 2012, rev 4.0 220 register address bit label default description refer to r16516 (4084h) ldo10 on control 15:13 ldo10_on_sl ot [2:0] 000 ldo10 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 8 ldo10_on_m ode 0 ldo10 on operating mode 0 = normal mode 1 = low power mode 4:0 ldo10_on_v sel [4:0] 0_0000 ldo10 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 4084h ldo10 on control register address bit label default description refer to r16517 (4085h) ldo10 sleep control 15:13 ldo10_slp_s lot [2:0] 000 ldo10 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo10 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 8 ldo10_slp_m ode 1 ldo10 sleep operating mode 0 = normal mode 1 = low power mode
production data WM8325 w pd, february 2012, rev 4.0 221 register address bit label default description refer to 4:0 ldo10_slp_v sel [4:0] 0_0000 ldo10 sleep voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 4085h ldo10 sleep control register address bit label default description refer to r16519 (4087h) ldo11 on control 15:13 ldo11_on_sl ot [2:0] 000 ldo11 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12 ldo11_frce na 0 ldo11 force enable (allows ldo11 to be enabled at all times in the off, on and sleep states) 0 = disabled 1 = enabled 7 ldo11_vsel_ src 0 ldo11 voltage select source 0 = normal (ldo11 settings) 1 = same as dc-dc converter 1 3:0 ldo11_on_v sel [3:0] 0000 ldo11 on voltage select 0.80v to 1.55v in 50mv steps 0h = 0.80v 1h = 0.85v 2h = 0.90v ? eh = 1.50v fh = 1.55v register 4087h ldo11 on control
WM8325 production data w pd, february 2012, rev 4.0 222 register address bit label default description refer to r16520 (4088h) ldo11 sleep control 15:13 ldo11_slp_s lot [2:0] 000 ldo11 sleep slot select 000 = sleep voltage / operating mode transition in timeslot 5 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = sleep voltage / operating mode transition in timeslot 3 111 = sleep voltage / operating mode transition in timeslot 1 if ldo11 is assigned to a hardware enable input, then codes 001-101 select in which timeslot the regulator enters its sleep condition. 3:0 ldo11_slp_v sel [3:0] 0000 ldo11 sleep voltage select 0.80v to 1.55v in 50mv steps 0h = 0.80v 1h = 0.85v 2h = 0.90v ? eh = 1.50v fh = 1.55v register 4088h ldo11 sleep control register address bit label default description refer to r16521 (4089h) epe1 control 15:13 epe1_on_sl ot [2:0] 000 epe1 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:11 epe1_hwc_s rc [1:0] 00 epe1 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 8 epe1_hwcen a 0 epe1 hardware control enable 0 = epe1 is controlled by epe1_ena (hardware control input(s) are ignored) 1 = epe1 is controlled by hwc inputs (hardware control input(s) force epe1 to be de-asserted)
production data WM8325 w pd, february 2012, rev 4.0 223 register address bit label default description refer to 7:5 epe1_slp_sl ot [2:0] 000 epe1 sleep slot select 000 = no action 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = no action 111 = no action register 4089h epe1 control register address bit label default description refer to r16522 (408ah) epe2 control 15:13 epe2_on_sl ot [2:0] 000 epe2 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:11 epe2_hwc_s rc [1:0] 00 epe2 hardware control source 00 = disabled 01 = hardware control 1 10 = hardware control 2 11 = hardware control 1 or 2 8 epe2_hwcen a 0 epe2 hardware control enable 0 = epe2 is controlled by epe2_ena (hardware control input(s) are ignored) 1 = epe2 is controlled by hwc inputs (hardware control input(s) force epe2 to be de-asserted) 7:5 epe2_slp_sl ot [2:0] 000 epe2 sleep slot select 000 = no action 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = no action 111 = no action register 408ah epe2 control
WM8325 production data w pd, february 2012, rev 4.0 224 register address bit label default description refer to r16526 (408eh) power good source 1 3 dc4_ok 0 dc-dc4 status selected as an input to pwr_good 0 = disabled 1 = enabled 2 dc3_ok 1 dc-dc3 status selected as an input to pwr_good 0 = disabled 1 = enabled 1 dc2_ok 1 dc-dc2 status selected as an input to pwr_good 0 = disabled 1 = enabled 0 dc1_ok 1 dc-dc1 status selected as an input to pwr_good 0 = disabled 1 = enabled register 408eh power good source 1 register address bit label default description refer to r16527 (408fh) power good source 2 9 ldo10_ok 1 ldo10 status selected as an input to pwr_good 0 = disabled 1 = enabled 8 ldo9_ok 1 ldo9 status selected as an input to pwr_good 0 = disabled 1 = enabled 7 ldo8_ok 1 ldo8 status selected as an input to pwr_good 0 = disabled 1 = enabled 6 ldo7_ok 1 ldo7 status selected as an input to pwr_good 0 = disabled 1 = enabled 5 ldo6_ok 1 ldo6 status selected as an input to pwr_good 0 = disabled 1 = enabled 4 ldo5_ok 1 ldo5 status selected as an input to pwr_good 0 = disabled 1 = enabled 3 ldo4_ok 1 ldo4 status selected as an input to pwr_good 0 = disabled 1 = enabled 2 ldo3_ok 1 ldo3 status selected as an input to pwr_good 0 = disabled 1 = enabled 1 ldo2_ok 1 ldo2 status selected as an input to pwr_good 0 = disabled 1 = enabled 0 ldo1_ok 1 ldo1 status selected as an input to pwr_good 0 = disabled 1 = enabled register 408fh power good source 2
production data WM8325 w pd, february 2012, rev 4.0 225 register address bit label default description refer to r16528 (4090h) clock control 1 15 clkout_ena 0 clkout output enable 0 = disabled 1 = enabled protected by security key. 13 clkout_od 0 clkout pin configuration 0 = cmos 1 = open drain 10:8 clkout_slo t [2:0] 000 clkout output enable on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = do not enable 111 = do not enable 6:4 clkout_slp slot [2:0] 000 clkout output sleep slot select 000 = controlled by clkout_ena 001 = disable in timeslot 5 010 = disable in timeslot 4 011 = disable in timeslot 3 100 = disable in timeslot 2 101 = disable in timeslot 1 110 = controlled by clkout_ena 111 = controlled by clkout_ena register 4090h clock control 1 register address bit label default description refer to r16529 (4091h) clock control 2 15 xtal_inh 0 crystal start-up inhibit 0 = disabled 1 = enabled when xtal_inh=0, the internal rc oscillator will provide clkout until the crystal oscillator is valid. when xtal_inh=1, the ?on? transition is inhibited until the crystal oscillator is valid. 13 xtal_ena 0 crystal oscillator enable 0 = disabled at all times 1 = enabled in off, on, sleep states (note that the backup behaviour is determined by xtal_bkupena.) this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 12 xtal_bkupe na 1 selects the rtc and 32.768khz oscillator in backup state 0 = rtc unclocked in backup 1 = rtc maintained in backup (note that xtal_ena must also be set if the rtc is to be maintained in backup) register 4091h clock control 2
WM8325 production data w pd, february 2012, rev 4.0 226 register address bit label default description refer to r30720 (7800h) unique id 1 15:0 unique_id [15:0] 0000_0000 _0000_000 0 unique id, word 7 register 7800h unique id 1 register address bit label default description refer to r30721 (7801h) unique id 2 15:0 unique_id [15:0] 0000_0000 _0000_000 0 unique id, word 6 register 7801h unique id 2 register address bit label default description refer to r30722 (7802h) unique id 3 15:0 unique_id [15:0] 0000_0000 _0000_000 0 unique id, word 5 register 7802h unique id 3 register address bit label default description refer to r30723 (7803h) unique id 4 15:0 unique_id [15:0] 0000_0000 _0000_000 0 unique id, word 4 register 7803h unique id 4 register address bit label default description refer to r30724 (7804h) unique id 5 15:0 unique_id [15:0] 0000_0000 _0000_000 0 unique id, word 3 register 7804h unique id 5 register address bit label default description refer to r30725 (7805h) unique id 6 15:0 unique_id [15:0] 0000_0000 _0000_000 0 unique id, word 2 register 7805h unique id 6 register address bit label default description refer to r30726 (7806h) unique id 7 15:0 unique_id [15:0] 0000_0000 _0000_000 0 unique id, word 1 register 7806h unique id 7
production data WM8325 w pd, february 2012, rev 4.0 227 register address bit label default description refer to r30727 (7807h) unique id 8 15:0 unique_id [15:0] 0000_0000 _0000_000 0 unique id, word 0 register 7807h unique id 8 register address bit label default description refer to r30736 (7810h) customer otp id 15 otp_auto_p rog 0 if this bit is set when bootstrap data is loaded from ice (in development mode), then the ice contents will be programmed in the otp. 14:1 otp_cust_id [13:0] 00_0000_0 000_0000 this field is checked when an ?on? transition is requested. a non-zero value is used to confirm valid data. 0 otp_cust_fi nal 0 if otp_cust_final is set in the otp and also set in the dcrw, then no further writes are possible to the otp. register 7810h customer otp id register address bit label default description refer to r30737 (7811h) dc1 otp control 15:13 dc2_on_slo t [2:0] 000 dc-dc2 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:8 dc2_on_vse l [6:2] 0_0000 dc-dc2 on voltage select dc2_on_vsel [6:0] selects the dc-dc2 output voltage from 0.6v to 1.8v in 12.5mv steps. dc2_on_vsel [6:2] controls the voltage in 50mv steps. dc2_on_vsel [6:0] is coded as follows: 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). 7:5 dc1_on_slo t [2:0] 000 dc-dc1 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3
WM8325 production data w pd, february 2012, rev 4.0 228 register address bit label default description refer to 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 4:0 dc1_on_vse l [6:2] 0_0000 dc-dc1 on voltage select dc1_on_vsel [6:0] selects the dc-dc1 output voltage from 0.6v to 1.8v in 12.5mv steps. dc1_on_vsel [6:2] controls the voltage in 50mv steps. dc1_on_vsel [6:0] is coded as follows: 00h to 08h = 0.6v 09h = 0.6125v ? 48h = 1.4v (see note) ? 67h = 1.7875v 68h to 7fh = 1.8v note - maximum output voltage selection in 4mhz switching mode is 48h (1.4v). register 7811h dc1 otp control register address bit label default description refer to r30738 (7812h) dc2 otp control 15:13 dc4_on_slo t [2:0] 000 dc-dc4 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:8 dc4_on_vse l [6:2] 0_0000 dc-dc4 on voltage select dc4_on_vsel [6:0] selects the dc-dc3 output voltage from 0.85v to 3.4v in 25mv steps. dc4_on_vsel [6:2] controls the voltage in 100mv steps. dc4_on_vsel [6:0] is coded as follows: 00h = 0.85v 01h = 0.875v ? 65h = 3.375v 66h to 7fh = 3.4v 7:5 dc3_on_slo t [2:0] 000 dc-dc3 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4
production data WM8325 w pd, february 2012, rev 4.0 229 register address bit label default description refer to 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 4:0 dc3_on_vse l [6:2] 0_0000 dc-dc3 on voltage select dc3_on_vsel [6:0] selects the dc-dc3 output voltage from 0.85v to 3.4v in 25mv steps. dc3_on_vsel [6:2] controls the voltage in 100mv steps. dc3_on_vsel [6:0] is coded as follows: 00h = 0.85v 01h = 0.875v ? 65h = 3.375v 66h to 7fh = 3.4v register 7812h dc2 otp control register address bit label default description refer to r30739 (7813h) dc3 otp control 15 dc4_phase 0 dc-dc4 clock phase control 0 = normal 1 = inverted 14 dc3_phase 0 dc-dc3 clock phase control 0 = normal 1 = inverted 13 dc2_phase 1 dc-dc2 clock phase control 0 = normal 1 = inverted 12 dc1_phase 0 dc-dc1 clock phase control 0 = normal 1 = inverted 11:10 dc4_cap [1:0] 00 dc-dc4 output capacitor 00 = 10uf to 20uf 01 = 10uf to 20uf 10 = 22uf to 45uf 11 = 47uf to 100uf this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 9:8 dc3_cap [1:0] 00 dc-dc3 output capacitor 00 = 10uf to 20uf 01 = 10uf to 20uf 10 = 22uf to 45uf 11 = 47uf to 100uf this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 7:6 dc2_cap [1:0] 00 dc-dc2 output capacitor 00 = reserved 01 = reserved 10 = 22uf to 47uf 11 = reserved this field can only be written to by loading configuration
WM8325 production data w pd, february 2012, rev 4.0 230 register address bit label default description refer to settings from otp/ice. in all other cases, this field is read only. 5:4 dc1_cap [1:0] 00 dc-dc1 output capacitor 00 = 4.7uf to 20uf 01 = reserved 10 = 22uf to 47uf 11 = reserved this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 3:2 dc2_freq [1:0] 00 dc-dc2 switching frequency 00 = reserved 01 = 2.0mhz (2.2uh output inductor) 10 = 4.0mhz (1uh output inductor) 11 = reserved this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 1:0 dc1_freq [1:0] 00 dc-dc1 switching frequency 00 = reserved 01 = 2.0mhz (2.2uh output inductor) 10 = 4.0mhz (1uh output inductor) 11 = 4.0mhz (0.5uh output inductor) this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. register 7813h dc3 otp control register address bit label default description refer to r30740 (7814h) ldo1/2 otp control 15:13 ldo2_on_sl ot [2:0] 000 ldo2 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:8 ldo2_on_vs el [4:0] 0_0000 ldo2 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v 7:5 ldo1_on_sl ot [2:0] 000 ldo1 on slot select 000 = do not enable
production data WM8325 w pd, february 2012, rev 4.0 231 register address bit label default description refer to 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 4:0 ldo1_on_vs el [4:0] 0_0000 ldo1 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 7814h ldo1/2 otp control register address bit label default description refer to r30741 (7815h) ldo3/4 otp control 15:13 ldo4_on_sl ot [2:0] 000 ldo4 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:8 ldo4_on_vs el [4:0] 0_0000 ldo4 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v 7:5 ldo3_on_sl ot [2:0] 000 ldo3 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1
WM8325 production data w pd, february 2012, rev 4.0 232 register address bit label default description refer to 111 = controlled by hardware enable 2 4:0 ldo3_on_vs el [4:0] 0_0000 ldo3 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 7815h ldo3/4 otp control register address bit label default description refer to r30742 (7816h) ldo5/6 otp control 15:13 ldo6_on_sl ot [2:0] 000 ldo6 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:8 ldo6_on_vs el [4:0] 0_0000 ldo6 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v 7:5 ldo5_on_sl ot [2:0] 000 ldo5 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2
production data WM8325 w pd, february 2012, rev 4.0 233 register address bit label default description refer to 4:0 ldo5_on_vs el [4:0] 0_0000 ldo5 on voltage select 0.9v to 1.6v in 50mv steps 1.7v to 3.3v in 100mv steps 00h = 0.90v 01h = 0.95v ? 0eh = 1.60v 0fh = 1.70v ? 1eh = 3.20v 1fh = 3.30v register 7816h ldo5/6 otp control register address bit label default description refer to r30743 (7817h) ldo7/8 otp control 15:13 ldo8_on_sl ot [2:0] 000 ldo8 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:8 ldo8_on_vs el [4:0] 0_0000 ldo8 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v 7:5 ldo7_on_sl ot [2:0] 000 ldo7 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2
WM8325 production data w pd, february 2012, rev 4.0 234 register address bit label default description refer to 4:0 ldo7_on_vs el [4:0] 0_0000 ldo7 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 7817h ldo7/8 otp control register address bit label default description refer to r30744 (7818h) ldo9/10 otp control 15:13 ldo10_on_sl ot [2:0] 000 ldo10 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 12:8 ldo10_on_v sel [4:0] 0_0000 ldo10 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v 7:5 ldo9_on_sl ot [2:0] 000 ldo9 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2
production data WM8325 w pd, february 2012, rev 4.0 235 register address bit label default description refer to 4:0 ldo9_on_vs el [4:0] 0_0000 ldo9 on voltage select 1.0v to 1.6v in 50mv steps 1.7v to 3.5v in 100mv steps 00h = 1.00v 01h = 1.05v 02h = 1.10v ? 0ch = 1.60v 0dh = 1.70v ? 1eh = 3.40v 1fh = 3.50v register 7818h ldo9/10 otp control register address bit label default description refer to r30745 (7819h) ldo11/epe control 15:13 ldo11_on_sl ot [2:0] 000 ldo11 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 11:8 ldo11_on_v sel [3:0] 0000 ldo11 on voltage select 0.80v to 1.55v in 50mv steps 0h = 0.80v 1h = 0.85v 2h = 0.90v ? eh = 1.50v fh = 1.55v 7:5 epe2_on_sl ot [2:0] 000 epe2 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2 4:2 epe1_on_sl ot [2:0] 000 epe1 on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = controlled by hardware enable 1 111 = controlled by hardware enable 2
WM8325 production data w pd, february 2012, rev 4.0 236 register address bit label default description refer to 0 dc4_slv 0 dc-dc4 slave mode select 0 = disabled 1 = enabled dc4_slv = 1, then dc-dc4 is a slave to dc-dc3, and both converters are controlled by the dc-dc3 registers. this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. register 7819h ldo11/epe control register address bit label default description refer to r30746 (781ah) gpio1 otp control 15 gp1_dir 1 gpio1 pin direction 0 = output 1 = input 14:13 gp1_pull [1:0] 01 gpio1 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp1_int_mod e 0 gpio1 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp1_pol=1) or falling edge triggered (if gp1_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp1_pwr_do m 0 gpio1 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp1_pol 1 gpio1 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp1_od 0 gpio1 output pin configuration 0 = cmos 1 = open drain 8 gp1_ena 0 gpio1 enable control 0 = gpio pin is tri-stated 1 = normal operation 7:4 gp1_fn [3:0] 0000 gpio1 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input
production data WM8325 w pd, february 2012, rev 4.0 237 register address bit label default description refer to 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset 2 xtal_ena 0 crystal oscillator enable 0 = disabled at all times 1 = enabled in off, on, sleep states (note that the backup behaviour is determined by xtal_bkupena.) this field can only be written to by loading configuration settings from otp/ice. in all other cases, this field is read only. 1 xtal_inh 0 crystal start-up inhibit 0 = disabled 1 = enabled when xtal_inh=0, the internal rc oscillator will provide clkout until the crystal oscillator is valid. when xtal_inh=1, the ?on? transition is inhibited until the crystal oscillator is valid. register 781ah gpio1 otp control register address bit label default description refer to r30747 (781bh) gpio2 otp control 15 gp2_dir 1 gpio2 pin direction 0 = output 1 = input 14:13 gp2_pull [1:0] 01 gpio2 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp2_int_mod e 0 gpio2 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp2_pol=1) or falling edge triggered (if gp2_pol=0) 1 = gpio interrupt is triggered on rising and falling edges
WM8325 production data w pd, february 2012, rev 4.0 238 register address bit label default description refer to 11 gp2_pwr_do m 0 gpio2 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp2_pol 1 gpio2 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp2_od 0 gpio2 output pin configuration 0 = cmos 1 = open drain 8 gp2_ena 0 gpio2 enable control 0 = gpio pin is tri-stated 1 = normal operation 7:4 gp2_fn [3:0] 0000 gpio2 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset
production data WM8325 w pd, february 2012, rev 4.0 239 register address bit label default description refer to 3:1 clkout_slo t [2:0] 000 clkout output enable on slot select 000 = do not enable 001 = enable in timeslot 1 010 = enable in timeslot 2 011 = enable in timeslot 3 100 = enable in timeslot 4 101 = enable in timeslot 5 110 = do not enable 111 = do not enable 0 wdog_ena 1 watchdog timer enable 0 = disabled 1 = enabled (enables the watchdog; does not reset it) protected by security key. register 781bh gpio2 otp control register address bit label default description refer to r30748 (781ch) gpio3 otp control 15 gp3_dir 1 gpio3 pin direction 0 = output 1 = input 14:13 gp3_pull [1:0] 01 gpio3 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp3_int_mod e 0 gpio3 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp3_pol=1) or falling edge triggered (if gp3_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp3_pwr_do m 0 gpio3 power domain select 0 = dbvdd 1 = pmicvdd (ldo12) 10 gp3_pol 1 gpio3 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp3_od 0 gpio3 output pin configuration 0 = cmos 1 = open drain 8 gp3_ena 0 gpio3 enable control 0 = gpio pin is tri-stated 1 = normal operation 7:4 gp3_fn [3:0] 0000 gpio3 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input
WM8325 production data w pd, february 2012, rev 4.0 240 register address bit label default description refer to 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 781ch gpio3 otp control register address bit label default description refer to r30749 (781dh) gpio4 otp control 15 gp4_dir 1 gpio4 pin direction 0 = output 1 = input 14:13 gp4_pull [1:0] 01 gpio4 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp4_int_mod e 0 gpio4 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp4_pol=1) or falling edge triggered (if gp4_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp4_pwr_do m 0 gpio4 power domain select 0 = dbvdd 1 = pvdd 10 gp4_pol 1 gpio4 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp4_od 0 gpio4 output pin configuration 0 = cmos 1 = open drain
production data WM8325 w pd, february 2012, rev 4.0 241 register address bit label default description refer to 8 gp4_ena 0 gpio4 enable control 0 = gpio pin is tri-stated 1 = normal operation 7:4 gp4_fn [3:0] 0000 gpio4 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset 3:2 led1_src [1:0] 11 led1 source (selects the led1 function.) 00 = off 01 = power state status 10 = reserved 11 = manual mode note - led1 also indicates completion of otp auto program 1:0 led2_src [1:0] 11 led2 source (selects the led2 function.) 00 = off 01 = power state status 10 = reserved 11 = manual mode
WM8325 production data w pd, february 2012, rev 4.0 242 register address bit label default description refer to note - led2 also indicates an otp auto program error condition register 781dh gpio4 otp control register address bit label default description refer to r30750 (781eh) gpio5 otp control 15 gp5_dir 1 gpio5 pin direction 0 = output 1 = input 14:13 gp5_pull [1:0] 01 gpio5 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp5_int_mod e 0 gpio5 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp5_pol=1) or falling edge triggered (if gp5_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp5_pwr_do m 0 gpio5 power domain select 0 = dbvdd 1 = pvdd 10 gp5_pol 1 gpio5 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp5_od 0 gpio5 output pin configuration 0 = cmos 1 = open drain 8 gp5_ena 0 gpio5 enable control 0 = gpio pin is tri-stated 1 = normal operation 7:4 gp5_fn [3:0] 0000 gpio5 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output
production data WM8325 w pd, february 2012, rev 4.0 243 register address bit label default description refer to 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset register 781eh gpio5 otp control register address bit label default description refer to r30751 (781fh) gpio6 otp control 15 gp6_dir 1 gpio6 pin direction 0 = output 1 = input 14:13 gp6_pull [1:0] 01 gpio6 pull-up / pull-down configuration 00 = no pull resistor 01 = pull-down enabled 10 = pull-up enabled 11 = reserved 12 gp6_int_mod e 0 gpio6 interrupt mode 0 = gpio interrupt is rising edge triggered (if gp6_pol=1) or falling edge triggered (if gp6_pol=0) 1 = gpio interrupt is triggered on rising and falling edges 11 gp6_pwr_do m 0 gpio6 power domain select 0 = dbvdd 1 = pvdd 10 gp6_pol 1 gpio6 polarity select 0 = inverted (active low) 1 = non-inverted (active high) 9 gp6_od 0 gpio6 output pin configuration 0 = cmos 1 = open drain 8 gp6_ena 0 gpio6 enable control 0 = gpio pin is tri-stated 1 = normal operation 7:4 gp6_fn [3:0] 0000 gpio6 pin function input functions: 0 = gpio input (long de-bounce) 1 = gpio input 2 = power on/off request 3 = sleep/wake request 4 = sleep/wake request (long de-bounce) 5 = sleep request
WM8325 production data w pd, february 2012, rev 4.0 244 register address bit label default description refer to 6 = power on request 7 = watchdog reset input 8 = dvs1 input 9 = dvs2 input 10 = hw enable1 input 11 = hw enable2 input 12 = hw control1 input 13 = hw control2 input 14 = hw control1 input (long de-bounce) 15 = hw control2 input (long de-bounce) output functions: 0 = gpio output 1 = 32.768khz oscillator output 2 = on state 3 = sleep state 4 = power state change 5 = reserved 6 = reserved 7 = reserved 8 = dc-dc1 dvs done 9 = dc-dc2 dvs done 10 = external power enable1 11 = external power enable2 12 = system supply good (sysok) 13 = converter power good (pwr_good) 14 = external power clock (2mhz) 15 = auxiliary reset 3:1 sysok_thr [2:0] 101 sysok threshold (rising pvdd) this is the rising pvdd voltage at which sysok will be asserted 000 = 2.8v 001 = 2.9v ? 111 = 3.5v note that the sysok hysteresis margin is added to these threshold levels. register 781fh gpio6 otp control register address bit label default description refer to r30759 (7827h) ice check data 15:0 ice_valid_d ata [15:0] 0000_0000 _0000_000 0 this field is checked in development mode when an ?on? transition is requested. a value of a596h is required to confirm valid data. register 7827h ice check data
production data WM8325 w pd, february 2012, rev 4.0 245 30 applications information 30.1 typical connections figure 28 WM8325 typical connections diagram for detailed schematics, bill of materials and recommended external components refer to the WM8325 evaluation board users manual.
WM8325 production data w pd, february 2012, rev 4.0 246 30.2 voltage and current reference components a decoupling capacitor is required between vrefc and gnd; a 100nf x5r capacitor is recommended (available in 0201 package size). a current reference resistor is required between irefr and gnd; a 100k ? (1%) resistor is recommended. 30.3 dc-dc buck converter external components the recommended connections to the dc-dc buck converters are illustrated in figure 29. figure 29 dc-dc buck converter external components when selecting suitable capacitors, is it imperative that the effective capacitance is within the required limits at the applicable input/output voltage of the converter. it should be noted that some components? capacitance changes significantly depending on the dc voltage applied. ceramic x7r or x5r types are recommended. the choice of output capacitor varies depending on the required transient response. larger values may be required for optimum performance under large load transient conditions. smaller values may be sufficient for a steady load, or in applications without stringent requirements on output voltage accuracy during load transients. for layout and size reasons, users may choose to implement large values of output capacitance by connecting two or more capacitors in parallel. to ensure stable operation, the dc m _cap register fields must be set according to the output capacitance, as described in section 15.6. when selecting a suitable output inductor, the inductance value and the saturation current must be compatible with the operating conditions of the converter. the magnitude of the inductor current ripple is dependant on the inductor value and can be determined by the following equation:
production data WM8325 w pd, february 2012, rev 4.0 247 as a minimum requirement, the dc current rating should be equal to the maximum load current plus one half of the inductor current ripple: to be suitable for the application, the chosen inductor must have a saturation current that is higher than the peak inductor current given by the above equation. to maximise the converter efficiency, the inductor should also have a low dc resistance (dcr), resulting in minimum conduction losses. care should also be taken to ensure that the component?s inductance is valid at the applicable operating temperature. the WM8325 incorporates a current-limit protection feature for all dc-dc converter outputs. in order to achieve the benefit of this feature, the output inductor saturation current limit must be greater than or equal to the p-channel current limit for the applicable converter (see section 7). wolfson recommends the following external components for use with dc-dc converter 1. the output inductor must be consistent with the dc1_freq register setting. the supported configurations are listed in table 84. note that for output voltages greater than 1.4v, the 2mhz mode must be used. dc1_freq switching frequency output inductor comments 00 n/a n/a n/a 01 2mhz 2.2 ? h best efficiency 10 4mhz 1.0 ? h good transient performance and efficiency 11 4mhz 0.5 ? h best transient performance table 84 output inductor selection - dc-dc1 the output capacitor must be consistent with the dc 1_cap register setting. for best performance, the 47? f component is recommended. for typical applications, the 22 ? f is suitable. the alternative values may be used for size or cost reasons if preferred. component value part number size l 0.5? h coilcraft xpl2010-501ml_ 1.9 x 2 x 1mm 1.0? h coilcraft xfl3012-102me_ 3 x 3 x 1.2mm 2.2? h coilcraft lps3015-222ml_ 3 x 3 x 1.5mm c out 47 ? f murata grm21br60g476mea1 0805 22 ? f murata grm21br60j226me39 0805 10 ? f murata grm188r60j106me84 0603 4.7? f murata grm188r60j475me84 0603 c in 10 ? f murata grm188r60j106me84 0603 table 85 recommended external components - dc-dc1
WM8325 production data w pd, february 2012, rev 4.0 248 wolfson recommends the following external components for use with dc-dc converter 2. the output inductor must be consistent with the dc2_freq register setting. the supported configurations are listed in table 86. note that for output voltages greater than 1.4v, the 2mhz mode must be used. dc2_freq switching frequency output inductor comments 00 n/a n/a n/a 01 2mhz 2.2 ? h best efficiency 10 4mhz 1.0 ? h best transient performance 11 n/a n/a n/a table 86 output inductor selection - dc-dc2 the output capacitor must be consistent with the dc 2_cap register setting. for best performance, the 47? f component is recommended. for typical applications, the 22 ? f is suitable; this is the minimum recommended output capacitor value. component value part number size l 1? h coilcraft xfl4020-102me_ 4 x 4 x 2.1mm 2.2? h tdk vlc5045-2r2n 5 x 5 x 4.5mm 2.2? h coilcraft xal4030-222me_ 4 x 4 x 3.1mm c out 47 ? f murata grm21br60g476mea1 0805 22 ? f murata grm21br60j226me39 0805 c in 22 ? f murata grm21br60j226me39 0805 table 87 recommended external components - dc-dc2 wolfson recommends the following external components for use with dc-dc converters 3 and 4. note that the switching frequency of dc-dc3 and dc-dc4 is fixed at 2mhz and the output inductor must be 2.2 ? h in all cases. the output capacitor must be consistent with the dc m _cap register setting. for best performance, the 47? f component is recommended. for typical applications, the 22 ? f is suitable. the alternative values may be used for size or cost reasons if preferred. component value part number size l 2.2? h coilcraft lps3015-222ml 3 x 3 x 1.5mm c out 47 ? f murata grm21br60g476mea1 0805 22 ? f murata grm21br60j226me39 0805 10 ? f murata grm188r60j106me84 0603 c in 4.7? f murata grm188r60j475me84 0603 table 88 recommended external components - dc-dc3, dc-dc4
production data WM8325 w pd, february 2012, rev 4.0 249 30.3.1 dc-dc3 / dc-dc4 dual mode when dc-dc3 and dc-dc4 are operating in dual mode, the external component configuration for each converter is the same as previously noted for single converters. the output load connection points (v o ) are simply connected together as shown in figure 30. figure 30 dc-dc3 / dc-dc4 dual mode converter connections wolfson recommends the following external components for use with dc-dc converters 3 and 4 when operating in dual mode. the output capacitor must be consistent with the dc m _cap register setting. for best performance, the 47? f component is recommended. for typical applications, the 22 ? f is suitable. the alternative values may be used for size or cost reasons if preferred. component value part number size l 2.2? h coilcraft lps3015-222ml_ 3 x 3 x 1.5mm c out 47 ? f murata grm21br60g476mea1 0805 22 ? f murata grm21br60j226me39 0805 10 ? f murata grm188r60j106me84 0603 c in 4.7? f murata grm188r60j475me84 0603 table 89 recommended external components - dc-dc3 / dc-dc4 dual mode
WM8325 production data w pd, february 2012, rev 4.0 250 30.4 ldo regulator external components the recommended connections to the ldo regulators are illustrated in figure 31. figure 31 ldo regulators external components when selecting suitable capacitors, is it imperative that the effective capacitance is within the required limits at the applicable input/output voltage of the converter. ceramic x7r or x5r types are recommended. wolfson recommends the following external components for use with ldo regulators 1 to 6. component value part number size c out 2.2 f kemet c0402c225m9pac 0402 c in 1.0 f murata grm155r61a105ke15 0402 table 90 recommended external components - ldo1 to ldo6 wolfson recommends the following external components for use with ldo regulators 7 to 10. for these regulators, note that it is important that the output capacitance, c out , does not exceed 4.7 p f. component value part number size c out 1.0 f murata grm155r61a105ke15 0402 c in 1.0 f murata grm155r61a105ke15 0402 table 91 recommended external components - ldo7 to ldo10 wolfson recommends the following external components for use with ldo regulators 11 to 13. component value part number size c out (ldo11) 0.1 f murata grm033r60j104ke19 0201 c out (ldo12) 0.1 f murata grm033r60j104ke19 0201 c out (ldo13) 2.2 f kemet c0402c225m9pac 0402 table 92 recommended external components - ldo11 to ldo13
production data WM8325 w pd, february 2012, rev 4.0 251 30.5 pcb layout poor pcb layout will degrade the performance and be a contributory factor in emi, ground bounce and resistive voltage losses. poor regulation and instability can result. simple design rules can be implemented to negate these effects: external input and output capacitors should be placed as close to the device as possible using short wide traces between the external power components. fo r the dc-dc converters, the input capacitor placement takes priority on the dc-dc converter s. (for the ldo regulators, the placement of the input and output capacitors have equal priority.) route the dc-dc converter output voltage feedbac k as an independent connection to the top of the output capacitor to create a true sense of the output voltage, routing away from noisy signals such as the lx connection. use a local ground island for each individual dc- dc converter connected at a single point onto a fully flooded ground plane. current loop areas should be kept as small as possible with loop areas changing little during alternating switching cycles. the layout in figure 32, for example, shows dc-dc1 layout with external components c8, l1 and c1. the input capacitor, c8, is close into the ic and shares a small ground island with the output capacitor c1. the inductor, l1, is situated in close proximity to c1 in order to keep loop area small and minimise the trace resistance. note also the use of short wide traces with all power tracking on a single (top) layer. figure 32 pcb layout
WM8325 production data w pd, february 2012, rev 4.0 252 31 package diagram dm082.b fl: 81 pin qfn plastic package 8 x 8 x 0.85 mm body top view pin 1 corner a a1 notes: 1. all dimensions are in millimetres 2. the terminal #1 identifier and terminal numbering convention shall conform to jesd 95-1 spp-002. 3. coplanarity applies to the exposed heat sink slug as well as the terminals. 4. this drawing is subject to change without notice. exposed gnd paddle a2 (a3) a10 b8 b7 b6 b5 a7 a6 b10 b9 a9 a8 b11 a11 d3 d2 f3 f2 h3 h2 k3 k2 m3 m2 n3 w9 y10 w10 y11 w11 v3 u2 r2 n2 u3 v4 w12 y12 r3 w8 w7 y9 y8 y7 w6 w2 w5 w4 w3 y6 y5 y4 y3 y2 w1 y1 v2 v1 a5 a2 a4 a3 b3 b4 b2 f1 e1 d1 c1 b1 g1 h1 j1 k1 m1 n1 r1 u1 l1 p1 t1 d e e2 d2 3.675 3.175 2.675 2.025 1.375 0.725 0.075 0 0.575 1.225 1.875 2.525 3.175 3.675 bottom view c c section c-c 3.675 3.065 3.175 2.565 1.955 1.080 1.500 0.750 0.330 0.750 1.225 1.375 1.875 2.025 2.675 2.525 3.175 3.675 0 3.675 3.175 3.025 2.675 2.375 2.025 1.375 1.725 1.075 0.725 0.260 0.075 0.575 0.990 1.225 1.805 1.875 2.525 3.175 3.675 3.675 2.925 2.175 1.525 0.875 0.725 0.225 0.075 0.425 0.575 1.075 1.225 1.725 1.875 2.375 2.525 3.025 3.675 1.375 3.175 l b detail a c bbb bc ddd a m bc ddd a m l1 b detail b bc ddd a m bc ddd a m l2 b detail c bc ddd a m detail d bc ddd a m a1 ?0.25 0.03 a b c aaa bc ddd a m ac eee b ac eee b c ccc c detail c detail b detail a detail d 3.175 68x 8x 4x symbols dimensions (mm) min nom max note a b d d2 e e2 l l1 --- 0.28 0.25 0.22 8 bsc 5.65 5.60 5.55 8 bsc 0.25 5.60 5.65 5.55 0.37 0.4 0.43 a1 a3 0.02 0.05 0.08 0.13 jedec, mo-220 tolerances of form and position bbb ccc ddd 0.20 0.05 0.08 ref --- 0.85 a2 0.64 0.675 0.71 0.12 0.14 0.22 0.28 0.47 l2 0.5 0.53 aaa 0.10 eee 0.10
production data WM8325 w pd, february 2012, rev 4.0 253 32 important notice wolfson microelectronics plc (?wolfson?) products and services are sold subject to wolfson?s terms and conditions of sale, delivery and payment supplied at the time of order acknowledgement. wolfson warrants performance of its products to the specific ations in effect at the date of shipment. wolfson reserves the right to make changes to its products and specifications or to discontinue any product or service without notice. customers should therefore obtain the latest version of relevant informati on from wolfson to verify that the information is current. testing and other quality control techniques are utilised to the extent wolfson deems necessary to support its warranty. specific testing of all parameters of each device is not nece ssarily performed unless required by law or regulation. in order to minimise risks associated with customer applications, the customer must use adequate design and operating safeguards to minimise inherent or procedural hazards. wolfson is not liable for applications assistance or customer product design. the customer is solely responsible for its selection and use of wolfson products. wolfson is not liable for such selection or use nor for use of any circuitry other than circuitry entirely embodied in a wolfson product. wolfson?s products are not intended for use in life support sy stems, appliances, nuclear systems or systems where malfunction can reasonably be expected to result in personal injury, death or severe property or environmental damage. any use of products by the customer for such purposes is at the customer?s own risk. wolfson does not grant any licence (express or implied) under any patent right, copyright, mask work right or other intellectua l property right of wolfson covering or relating to any combination, machine, or process in which its products or services might be or are used. any provision or publication of any third party ?s products or services does not constitute wolfson?s approval, licence, warranty or endorsement thereof. any third party trade marks contained in this document belong to the respective third party owner. reproduction of information from wolfson datasheets is per missible only if reproduction is without alteration and is accompanied by all associated copyright, proprietary and other notice s (including this notice) and conditions. wolfson is not liable for any unauthorised alteration of such information or for any reliance placed thereon. any representations made, warranties given, and/or liabilities accepted by any person which differ from those contained in this datasheet or in wolfson?s standard terms and conditions of sale, delivery and payment are made, given and/or accepted at that person?s own risk. wolfson is not liable for any such representations, warranties or liabilities or for any reliance pl aced thereon by any person. address: wolfson microelectronics plc westfield house 26 westfield road edinburgh eh11 2qb united kingdom tel :: +44 (0)131 272 7000 fax :: +44 (0)131 272 7001 email :: sales@wolfsonmicro.com
WM8325 production data w pd, february 2012, rev 4.0 254 33 revision history date rev description of changes changed by 18/08/11 1.0 initial release pf january 2011 1.1 sdout1 description amended to open drain, with external pull-up required. default value of pwrstate_dly corrected. alternative 2.2uh recommended inductor quoted for dc-dc2. undervoltage margin specified for all dc-dc converters. overvoltage margin specified for dc-dc converters 1, 2. chip temperature (aux_data) equation updated. pf 01/03/11 1.2 added notes that sleep > off is not a controlled transition; converters and regulators are disabled immediately. reset pin description updated to note integrated pull-up. irq description updated to note pull-up in open drain mode. system reset and device reset descriptions updated, consistent with the summary table. recommended external pull-up resistances added in pin description. internal pull-up / pull-down resistances added in electrical characteristics. noted active high (non-inverted) polarity for gpio ?power on/off request? function is not fully supported in development mode. pf 24/06/11 3.0 noted maximum limit on software resets. also clarification of the maximum number of watchdog / undervoltage device resets. correction to dbvdd test conditions (section 7.7). rtc_pint_freq definition updated. dc-dc output inductor saturation limit recommendations added. dc-dc2 output current characteristics updated - 1250ma max in 4mhz mode. sysok_thr register description updated. quiescent current characteristics updated for dc-dc 1-4. ph 15/09/11 4.0 backup battery power updated; charger control registers deleted. ldo11 output amended for ldo11_vsel_src=1 and dc-dc1 disabled. otp register map overview correction (gpn_tri replaced with gpn_ena). ldo11 maximum output current increased (only for pvdd 3.1v). ph 01/02/12 4.0 electrical characteristics updated. dc3_stnby_lim, dc4_stnby_lim descriptions updated. sysok_thr description updated. ph


▲Up To Search▲   

 
Price & Availability of WM8325

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X